apt-get install postgresql fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-common (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgresql-common
sudo apt-get install postgresql fails in Intrepid, but completes successfully when you run dpkg --configure -a.
Here's a full command log (I apologize for the Lituahnian texts, but I didn't know in advance that it would fail and don't have the time right at this moment to uninstall and try reinstalling).
$ sudo apt-get install postgresql
Skaitomi paketų sąrašai... Baigta
Konstruojamas priklausomybių medis
Skaitoma būsenos informacija... Baigta
Bus įdiegti šie papildomi paketai:
postgresql-8.3 postgresql-
Siūlomi paketai:
oidentd ident-server postgresql-doc-8.3
Bus įdiegti šie NAUJI paketai:
postgresql postgresql-8.3 postgresql-
0 atnaujinti, 5 naujai įdiegti, 0 bus pašalinta ir 0 neatnaujinta.
Reikia parsiųsti 4694kB/4740kB archyvų.
Po šios operacijos bus naudojama 19,8MB papildomos disko vietos.
Gauti:1 http://
Gauti:2 http://
Gauti:3 http://
Gauti:4 http://
Parsiųsta 4546kB iš 30s (151kB/s)
Prekonfigūruojami paketai ...
Pažymime anksčiau nepažymėtą paketą postgresql-
(Skaitoma duomenų bazė ... šiuo metu įdiegta 342438 failų ir aplankų.)
Išpakuojamas archyvas postgresql-
Pažymime anksčiau nepažymėtą paketą postgresql-
Išpakuojamas archyvas postgresql-
Pažymime anksčiau nepažymėtą paketą postgresql-common.
Išpakuojamas archyvas postgresql-common (iš .../postgresql-
Pažymime anksčiau nepažymėtą paketą postgresql-8.3.
Išpakuojamas archyvas postgresql-8.3 (iš .../postgresql-
Pažymime anksčiau nepažymėtą paketą postgresql.
Išpakuojamas archyvas postgresql (iš .../postgresql_
Processing triggers for man-db ...
Tvarkomas paketas postgresql-
Tvarkomas paketas postgresql-
Tvarkomas paketas postgresql-common (90) ...
supported_versions: WARNING: Unknown Ubuntu release: 8.10
Your account has expired; please contact your system administrator
chfn: PAM authentication failed
adduser: `/usr/bin/chfn -f PostgreSQL administrator postgres' returned error code 1. Exiting.
dpkg: klaida apdorojant postgresql-common (--configure):
vidinis procesas post-installation script nutrūko gražindamas reikšmę 1
dpkg: priklausomybių problemos neleidžia konfigūruoti postgresql-8.3:
postgresql-8.3 priklauso nuo postgresql-common (>= 79); tačiau:
Paketas postgresql-common dar nekonfigūruotas.
dpkg: klaida apdorojant postgresql-8.3 (--configure):
priklausomybių problemos - paliekamas nekonfigūruotas
dpkg: priklausomybių problemos neleidžia konfigūruoti postgresql:
postgresql priklauso nuo postgresql-8.3; tačiau:
Paketas postgresql-8.3 dar nekonfigūruotas.
dpkg: klaida apdorojant postgresql (--configure):
priklausomybių problemos - paliekamas nekonfigūruotas
No apport report written because the error message indicates its a followup error from a previous failure.
postgresql-common
postgresql-8.3
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ LC_ALL=C sudo dpkg --configure -a
Setting up postgresql-common (90) ...
supported_versions: WARNING: Unknown Ubuntu release: 8.10
Adding user postgres to group ssl-cert
Setting up postgresql-8.3 (8.3.5-0ubuntu8.10) ...
Creating new cluster (configuration: /etc/postgresql
Moving configuration file /var/lib/
Moving configuration file /var/lib/
Moving configuration file /var/lib/
Configuring postgresql.conf to use port 5432...
* Starting PostgreSQL 8.3 database server [ OK ]
Setting up postgresql (8.3.5-0ubuntu8.10) ...
I just installed postgresql on a very clean Intrepid system, without any problem.
When you got your "Your account has expired; please contact your system administrator", I got the "Adding user postgres to group ssl-cert" you got during "dpkg --configure -a".
Have you had postgresql installed earlier on that system? Do you keep a local userdatabase or do you use something like ldap alt. nis? Any special pam settings?