Public bug reported:

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-client-8.4 postgresql-client-common
  postgresql-common
Suggested packages:
  oidentd ident-server postgresql-doc-8.4
The following NEW packages will be installed:
  libreadline5 postgresql postgresql-8.4 postgresql-client-8.4
  postgresql-client-common postgresql-common
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://br.archive.ubuntu.com karmic/main libreadline5 5.2-6 [147kB]
Get:2 http://br.archive.ubuntu.com karmic/main postgresql-client-common 101 
[49.8kB]
Get:3 http://br.archive.ubuntu.com karmic-updates/main postgresql-client-8.4 
8.4.2-0ubuntu9.10 [828kB]
Get:4 http://br.archive.ubuntu.com karmic/main postgresql-common 101 [85.6kB]
Get:5 http://br.archive.ubuntu.com karmic-updates/main postgresql-8.4 
8.4.2-0ubuntu9.10 [4,043kB]
Get:6 http://br.archive.ubuntu.com karmic-updates/main postgresql 
8.4.2-0ubuntu9.10 [10.2kB]
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 .../libreadline5_5.2-6_amd64.deb) ...
Selecting previously deselected package postgresql-client-common.
Unpacking postgresql-client-common (from 
.../postgresql-client-common_101_all.deb) ...
Selecting previously deselected package postgresql-client-8.4.
Unpacking postgresql-client-8.4 (from 
.../postgresql-client-8.4_8.4.2-0ubuntu9.10_amd64.deb) ...
Selecting previously deselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-common_101_all.deb) ...
Selecting previously deselected package postgresql-8.4.
Unpacking postgresql-8.4 (from .../postgresql-8.4_8.4.2-0ubuntu9.10_amd64.deb) 
...
Selecting previously deselected package postgresql.
Unpacking postgresql (from .../postgresql_8.4.2-0ubuntu9.10_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up libreadline5 (5.2-6) ...

Setting up postgresql-client-common (101) ...
Setting up postgresql-client-8.4 (8.4.2-0ubuntu9.10) ...
update-alternatives: using /usr/share/postgresql/8.4/man/man1/psql.1.gz to 
provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode.

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/8.4/main, data: 
/var/lib/postgresql/8.4/main)...
Moving configuration file /var/lib/postgresql/8.4/main/postgresql.conf to 
/etc/postgresql/8.4/main...
Moving configuration file /var/lib/postgresql/8.4/main/pg_hba.conf to 
/etc/postgresql/8.4/main...
Moving configuration file /var/lib/postgresql/8.4/main/pg_ident.conf to 
/etc/postgresql/8.4/main...
Configuring postgresql.conf to use port 5432...
update-alternatives: using /usr/share/postgresql/8.4/man/man1/postmaster.1.gz 
to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode.
 * Starting PostgreSQL 8.4 database server                                      
 * Error: could not exec /usr/lib/postgresql/8.4/bin/pg_ctl 
/usr/lib/postgresql/8.4/bin/pg_ctl start -D /var/lib/postgresql/8.4/main -l 
/var/log/postgresql/postgresql-8.4-main.log -s -o  -c 
config_file="/etc/postgresql/8.4/main/postgresql.conf" : 
 [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.
                          Errors were encountered while processing:
 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
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
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

** Affects: postgresql-8.4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package

-- 
package postgresql-8.4 8.4.2-0ubuntu9.10 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/525016
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to