Package: postgresql-8.0 Version: 8.0.3-15 Severity: important For some reason my data directory (/var/lib/postgresql/8.0/main) is gone and now the package is completely unusable and cannot even be removed:
$ psql -l Error: Cannot stat /var/lib/postgresql/8.0/main $ psql --help Error: Cannot stat /var/lib/postgresql/8.0/main # /etc/init.d/postgresql-8.0 restart # echo $? 0 # dpkg --purge postgresql-8.0 (Reading database ... 161601 files and directories currently installed.) Removing postgresql-8.0 ... Purging configuration files for postgresql-8.0 ... Dropping cluster main... Error: Cannot stat /var/lib/postgresql/8.0/main dpkg: error processing postgresql-8.0 (--purge): subprocess post-removal script returned error exit status 1 Errors were encountered while processing: postgresql-8.0 Somehow it should be possible to get out of this without doing manual surgery. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-k7 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages postgresql-8.0 depends on: ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libcomerr2 1.38-2 common error description library ii libkrb53 1.3.6-5 MIT Kerberos runtime libraries ii libpam0g 0.76-23 Pluggable Authentication Modules l ii libpq4 8.0.3-15 PostgreSQL C client library ii libreadline5 5.0-10 GNU readline and history libraries ii libssl0.9.7 0.9.7g-2 SSL shared libraries ii postgresql-client-8.0 8.0.3-15 front-end programs for PostgreSQL ii postgresql-common 26 manager for PostgreSQL database cl ii zlib1g 1:1.2.3-4 compression library - runtime postgresql-8.0 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]