package postgresql-8.4 8.4.2-0ubuntu9.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-8.4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgresql-8.4
This is a fresh new ubuntu 9.10 install
I installed postgresql-8.4.2 and pgadmin3 from source code (not patched), it was installed and running fine.
Since i dont have enough knowledge i could not create the script to start postgresql on startup, so i uninstalled pgadmin3 and postgresql8.4.2 and deleted the postgres user i created manually and did a install using apt-get install postgresql.
Here is the output:
sudo apt-get install postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libreadline5 postgresql-8.4 postgresql-
postgresql-common
Suggested packages:
oidentd ident-server postgresql-doc-8.4
The following NEW packages will be installed:
libreadline5 postgresql postgresql-8.4 postgresql-
postgresql-
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,164kB of archives.
After this operation, 18.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Fetched 5,164kB in 23s (216kB/s)
Preconfiguring packages ...
Selecting previously deselected package libreadline5.
(Reading database ... 151057 files and directories currently installed.)
Unpacking libreadline5 (from .../libreadline
Selecting previously deselected package postgresql-
Unpacking postgresql-
Selecting previously deselected package postgresql-
Unpacking postgresql-
Selecting previously deselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-
Selecting previously deselected package postgresql-8.4.
Unpacking postgresql-8.4 (from .../postgresql-
Selecting previously deselected package postgresql.
Unpacking postgresql (from .../postgresql_
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libreadline5 (5.2-6) ...
Setting up postgresql-
Setting up postgresql-
update-
Setting up postgresql-common (101) ...
Adding user postgres to group ssl-cert
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
en_au
en_gb
en_us
en_za
Setting up postgresql-8.4 (8.4.2-0ubuntu9.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...
update-
* Starting PostgreSQL 8.4 database server
* Error: could not exec /usr/lib/
[fail]
invoke-rc.d: initscript postgresql-8.4, action "start" failed.
dpkg: error processing postgresql-8.4 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql:
postgresql depends on postgresql-8.4; however:
Package postgresql-8.4 is not configured yet.
dpkg: error processing postgresql (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
No apport report written because the error message indicates its a followup error from a previous failure.
postgresql-8.4
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is any work around to clean it up and try a new install?
ProblemType: Package
Architecture: amd64
Date: Sat Feb 20 17:28:22 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: postgresql-8.4 8.4.2-0ubuntu9.10
ProcVersionSign
SourcePackage: postgresql-8.4
Title: package postgresql-8.4 8.4.2-0ubuntu9.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-19-generic x86_64
additional info:
Installed the first time with -D /db/pgsql and deleted the directory before apt-get install postgresql