Package: postgresql Version: 7.4.7-6sarge4 I am not able install postgresql in Debian stable. Here's the aptitude output. I try to install it in C locale and I am using the POSIX locale in my computer.
# aptitude install postgresql 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: libperl5.8 postgresql-client The following NEW packages will be installed: libperl5.8 postgresql postgresql-client 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 4849kB of archives. After unpacking 13.0MB will be used. Do you want to continue? [Y/n/?] Writing extended state information... Done Get:1 http://ftp.debian.org stable/main libperl5.8 5.8.4-8sarge5 [509kB] Get:2 http://security.debian.org stable/updates/main postgresql-client 7.4.7-6sarge4 [540kB] Get:3 http://security.debian.org stable/updates/main postgresql 7.4.7-6sarge4 [3800kB] Fetched 4849kB in 14s (338kB/s) Preconfiguring packages ... Selecting previously deselected package libperl5.8. (Reading database ... 33431 files and directories currently installed.) Unpacking libperl5.8 (from .../libperl5.8_5.8.4-8sarge5_i386.deb) ... Selecting previously deselected package postgresql-client. Unpacking postgresql-client (from .../postgresql-client_7.4.7-6sarge4_i386.deb) ... Selecting previously deselected package postgresql. Unpacking postgresql (from .../postgresql_7.4.7-6sarge4_i386.deb) ... Setting up libperl5.8 (5.8.4-8sarge5) ... Setting up postgresql-client (7.4.7-6sarge4) ... Setting up postgresql (7.4.7-6sarge4) ... Creating config file /etc/postgresql/postmaster.conf with new version /tmp/pg.NSSUFV: line 3524: `_comp-dpkg-installed-packages': not a valid identifier dpkg: error processing postgresql (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: postgresql E: Sub-process /usr/bin/dpkg returned an error code (1) Ack! Something bad happened while installing packages. Trying to recover: Setting up postgresql (7.4.7-6sarge4) ... /tmp/pg.uvm9Pe: line 3524: `_comp-dpkg-installed-packages': not a valid identifier dpkg: error processing postgresql (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: postgresql Reading Package Lists... Done Building Dependency Tree Reading extended state information Initializing package states... Done Reading task descriptions... Done I am using Debian stable and bash version 2.05b-26 Thanks

