package postgresql-common (not installed) 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) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
upgrade from 12.04 to 12.10 desktop, in the process the upgrade tool crashed, after of restarting the process conitinues, but say that this packect is broken
ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: postgresql-common (not installed)
ProcVersionSign
Uname: Linux 3.5.0-21-generic x86_64
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Wed Dec 26 15:37:53 2012
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
MarkForUpload: True
SourcePackage: postgresql-common
Title: package postgresql-common (not installed) failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
UpgradeStatus: Upgraded to quantal on 2012-12-26 (0 days ago)
Error message "The postgres system user must not have root as primary group."; it seems you tinkered with the "postgres" system user? You can restore it with
sudo deluser --system postgres
sudo adduser --system --home /var/lib/postgresql --no-create-home --shell /bin/bash --group --gecos "PostgreSQL administrator" postgres