package postgresql-common (not installed) failed to install/upgrade: il sottoprocesso nuovo pacchetto postgresql-common script pre-installation ha restituito lo stato di errore 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-common (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
non e chiaro
ProblemType: Package
DistroRelease: Ubuntu 20.10
Package: postgresql-common (not installed)
ProcVersionSign
Uname: Linux 5.8.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.1
Architecture: amd64
CasperMD5CheckR
Date: Mon Nov 16 17:24:24 2020
ErrorMessage: il sottoprocesso nuovo pacchetto postgresql-common script pre-installation ha restituito lo stato di errore 2
InstallationDate: Installed on 2020-11-13 (3 days ago)
InstallationMedia: Lubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1
PythonDetails: N/A
RelatedPackageV
dpkg 1.20.5ubuntu2
apt 2.1.11
SourcePackage: postgresql-common
Title: package postgresql-common (not installed) failed to install/upgrade: il sottoprocesso nuovo pacchetto postgresql-common script pre-installation ha restituito lo stato di errore 2
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to file a bug report.
Based on the logs attached to the bug, it seems to me that this is a local configuration issue. Do you have any other instance of Postgresql running? Based on the log below:
Preparativi per estrarre .../24- postgresql- common_ 216_all. deb... pg_config. libpq-dev da postgresql-common" pg_config. libpq-dev" con pg_config" , non consentito dpkg-install- JGVG7f/ 24-postgresql- common_ 216_all. deb (--unpack):
Viene aggiunto "deviazione di /usr/bin/pg_config in /usr/bin/
dpkg-divert: errore: la rinomina comprende il sovrascrivere "/usr/bin/
il file "/usr/bin/
dpkg: errore nell'elaborare l'archivio /tmp/apt-
il sottoprocesso nuovo pacchetto postgresql-common script pre-installation ha restituito lo stato di errore 2
dpkg was unable to manipulate "/usr/bin/ pg_config" properly, which can mean that you already have another version of the file installed.
Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.
However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://