Package: postgresql-8.1
Severity: serious

Installing postgresql-8.1 on my testing system (unstable and
experimental is in sources.list, but testing is pinned higher):

pannekake:~# aptitude install postgresql-8.1
Reading Package Lists... Done
Building Dependency Tree       
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
The following NEW packages will be automatically installed:
  openssl postgresql-client-8.1 postgresql-common 
The following NEW packages will be installed:
  openssl postgresql-8.1 postgresql-client-8.1 postgresql-common 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 6210kB of archives. After unpacking 18.3MB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Get:1 http://debian.samfundet.no testing/main openssl 0.9.7e-3 [906kB]
Get:2 http://debian.samfundet.no testing/main postgresql-common 25 [72.7kB]
Get:3 http://debian.samfundet.no ../project/experimental/main postgresql-client-
8.1 8.0+8.1beta-1 [1179kB]
Get:4 http://debian.samfundet.no ../project/experimental/main postgresql-8.1 8.0
+8.1beta-1 [4052kB]
Fetched 6210kB in 0s (12.2MB/s)   
Selecting previously deselected package openssl.
(Reading database ... 27350 files and directories currently installed.)
Unpacking openssl (from .../openssl_0.9.7e-3_i386.deb) ...
Creating directory /etc/ssl
Selecting previously deselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-common_25_all.deb) ...
Selecting previously deselected package postgresql-client-8.1.
Unpacking postgresql-8.1 (from .../postgresql-8.1_8.0+8.1beta-1_i386.deb) ...
Setting up openssl (0.9.7e-3) ...

Setting up postgresql-common (25) ...
Creating generic self-signed certificate: /etc/postgresql-common/postgresql.crt
(replace with hand-crafted or authorized one if needed).

Setting up postgresql-client-8.1 (8.0+8.1beta-1) ...

Setting up postgresql-8.1 (8.0+8.1beta-1) ...
Creating new cluster (configuration: /etc/postgresql/8.1/main, data: 
/var/lib/postgresql/8.1/main)...
/usr/lib/postgresql/8.1/bin/initdb: error while loading shared libraries: 
libpq.so.4: cannot open shared object file: No such file or directory
Error: initdb failed
dpkg: error processing postgresql-8.1 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 postgresql-8.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Setting up postgresql-8.1 (8.0+8.1beta-1) ...
Starting PostgreSQL 8.1 database server: mainpg_controldata: could not open 
file "/var/lib/postgresql/8.1/main/global/pg_control" for reading: No such file 
or directory
Error: Could not parse locale out of pg_controldata output
 failed!

Reading Package Lists... Done             
Building Dependency Tree       
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
pannekake:~# 



Looks like postgresql-client-8.1 is missing a dependency on the right
libraries (libpq4?).


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.8
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to