package postgresql-common 162 [modified: usr/bin/pg_config usr/bin/pg_createcluster usr/bin/pg_ctlcluster usr/bin/pg_dropcluster usr/bin/pg_lsclusters usr/bin/pg_upgradecluster usr/sbin/pg_updatedicts usr/share/doc/postgresql-common/README.Debian.gz usr/share/doc/postgresql-common/copyright usr/share/lintian/overrides/postgresql-common usr/share/man/man1/pg_lsclusters.1.gz usr/share/man/man8/pg_updatedicts.8.gz usr/share/postgresql-common/init.d-functions usr/share/postgresql-common/pg_checksystem usr/share/postgresql-common/run-upgrade-scripts usr/share/postgresql-common/t/001_packages.t usr/share/postgresql-common/t/005_PgCommon.t usr/share/postgresql-common/t/010_defaultport_cluster.t usr/share/postgresql-common/t/020_create_sql_remove.t usr/share/postgresql-common/t/030_errors.t usr/share/postgresql-common/t/040_upgrade.t usr/share/postgresql-common/t/041_upgrade_custompaths.t usr/share/postgresql-common/t/042_upgrade_tablespaces.t usr/share/postgresql-common/t/050_encodings.t usr/share/postgresql-common/t/051_inconsistent_encoding_upgrade.t usr/share/postgresql-common/t/052_upgrade_encodings.t usr/share/postgresql-common/t/060_obsolete_confparams.t usr/share/postgresql-common/t/070_non_postgres_clusters.t usr/share/postgresql-common/t/080_start.conf.t usr/share/postgresql-common/t/085_pg_ctl.conf.t usr/share/postgresql-common/t/090_multicluster.t usr/share/postgresql-common/t/100_upgrade_scripts.t usr/share/postgresql-common/t/110_integrate_cluster.t usr/share/postgresql-common/t/120_pg_upgradecluster_scripts.t usr/share/postgresql-common/t/130_nonroot_admin.t usr/share/postgresql-common/t/140_pg_config.t usr/share/postgresql-common/t/150_tsearch_stemming.t usr/share/postgresql-common/t/160_alternate_confroot.t usr/share/postgresql-common/t/170_extensions.t usr/share/postgresql-common/t/180_ecpg.t usr/share/postgresql-common/t/TestLib.pm usr/share/postgresql-common/t/template usr/share/postgresql-common/testsuite] failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-common (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
supported_versions: WARNING: Unknown Ubuntu release: 14.10
sed: no se puede leer /usr/share/
dpkg: error al procesar el paquete postgresql-common (--configure):
el subproceso instalado el script post-installation devolvió el código de salida de error 2
dpkg: problemas de dependencias impiden la configuración de postgresql-9.4:
postgresql-9.4 depende de postgresql-common (>= 142~); sin embargo:
El paquete `postgresql-common' no está configurado todavía.
dpkg: error al procesar el paquete postgresql-9.4 (--configure):
problemas de dependencias - se deja sin configurar
ProblemType: Package
DistroRelease: Ubuntu 14.10
ProcVersionSign
Uname: Linux 3.16.0-28-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Wed Dec 17 10:42:30 2014
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
InstallationDate: Installed on 2012-04-26 (964 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
PackageArchitec
SourcePackage: postgresql-common
UpgradeStatus: Upgraded to utopic on 2014-10-24 (53 days ago)
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
tags: | removed: need-duplicate-check |
I'm afraid that there's something seriously wrong with your system. Your dpkg database seems to be corrupted (as you get all those checksum errors), and the package contents of postgresql-common is wrong too:
Processing triggers for postgresql-common (162) ... postgresql- common/ logrotate. template does not exist!
supported_versions: WARNING: Unknown Ubuntu release: 14.10
Error: The new file /usr/share/
This both does not make sense -- Version 162 does ship that file and it also knows about Ubuntu 14.10. What's the output of
dpkg -s postgresql-common
? What does
sudo apt-get install --reinstall postgresql-common
do, does that help?