Обругался на какой то скрипт, но я такой точно не удалял
# sudo apt-get install --reinstall postgresql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 88,9kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://ru.archive.ubuntu.com/ubuntu/ maverick/main postgresql-common all 111 [88,9kB]
Fetched 88,9kB in 0s (2 577kB/s)
Preconfiguring packages ...
(Reading database ...
dpkg: warning: files list file for package `postgresql-common' missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `postgresql-8.4' missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `postgresql-client-8.4' missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `postgresql-client-common' missing, assuming package has no files currently installed.
(Reading database ... 143954 files and directories currently installed.)
Preparing to replace postgresql-common 111 (using .../postgresql-common_111_all.deb) ...
Unpacking replacement postgresql-common ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up postgresql-common (111) ...
Can't locate PgCommon.pm in @INC (@INC contains: /usr/share/postgresql-common /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/postgresql-common/run-upgrade-scripts line 18.
BEGIN failed--compilation aborted at /usr/share/postgresql-common/run-upgrade-scripts line 18.
Can't locate PgCommon.pm in @INC (@INC contains: /usr/share/postgresql-common /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/share/postgresql-common/pg_checksystem line 20.
BEGIN failed--compilation aborted at /usr/share/postgresql-common/pg_checksystem line 20.
Setting up postgresql-contrib-8.4 (8.4.11-0ubuntu0.10.10) ...
dpkg: error processing postgresql-contrib-8.4 (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
postgresql-contrib-8.4
E: Sub-process /usr/bin/dpkg returned an error code (1)