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

Bug #1937293 reported by Juan Felipe Padilla Gutierrez
8
This bug affects 1 person
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.20.04.1) pero 13.3-1.pgdg20.04+1 va a ser instalado
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: postgresql-12 (not installed)
ProcVersionSignature: Ubuntu 5.8.0-63.71~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-63-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia wl
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
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.20.04.1) ...
 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
RelatedPackageVersions:
 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)

Revision history for this message
Juan Felipe Padilla Gutierrez (1juanf) wrote :
Revision history for this message
Miriam España Acebal (mirespace) wrote :

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:
http://www.ubuntu.com/support/community

Changed in postgresql-12 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for postgresql-12 (Ubuntu) because there has been no activity for 60 days.]

Changed in postgresql-12 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.