package postgresql-12 (not installed) failed to install/upgrade: el subproceso instalado paquete postgresql-12 script post-removal devolvió el código de salida de error 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-12 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Los siguientes paquetes tienen dependencias incumplidas:
libpq-dev : Depende: libpq5 (= 12.7-0ubuntu0.
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: postgresql-12 (not installed)
ProcVersionSign
Uname: Linux 5.8.0-63-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Thu Jul 22 11:53:52 2021
DpkgTerminalLog:
Purgando ficheros de configuración de pgadmin4-web (5.5) ...
Purgando ficheros de configuración de postgresql-12 (12.7-0ubuntu0.
dpkg: error al procesar el paquete postgresql-12 (--purge):
el subproceso instalado paquete postgresql-12 script post-removal devolvió el código de salida de error 10
ErrorMessage: el subproceso instalado paquete postgresql-12 script post-removal devolvió el código de salida de error 10
InstallationDate: Installed on 2021-03-23 (120 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: postgresql-12
Title: package postgresql-12 (not installed) failed to install/upgrade: el subproceso instalado paquete postgresql-12 script post-removal devolvió el código de salida de error 10
UpgradeStatus: No upgrade log present (probably fresh install)
Hi, thank you for taking the time to file a bug report.
After researching your issue, postgresql-12 is asking for the correct libpq5 version but your system seems that have more sources in which it finds an upper and not right version (13.3-1. pgdg20. 04+1) that is not an ubuntu package indeed. We suggest you check your repos sources configuration to solve this. In case you'd like things to work cleanly, we suggest you to remove (or/and purge) all the third party sources and the packages installed from there (postgresql-13, at least) and then do a fresh install of postgresql-12 via apt.
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://