Package: postgresql-8.1
Version: 8.1.3-4
Severity: serious
Justification: Policy 6.7

I tried to remove postgresql:
thirtyto:~# env LANG=C apt-get remove postgresql-8.1
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  postgresql-8.1
0 upgraded, 0 newly installed, 1 to remove and 86 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 13.5MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 132140 files and directories currently installed.)
Removing postgresql-8.1 ...
Stopping PostgreSQL 8.1 database server: maininvoke-rc.d: initscript 
postgresql-8.1, action "stop" failed.
dpkg: error processing postgresql-8.1 (--remove):
 subprocess pre-removal script returned error exit status 2
Starting PostgreSQL 8.1 database server: maininvoke-rc.d: initscript 
postgresql-8.1, action "start" failed.
dpkg: error while cleaning up:
 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)


(On the first invocation, it (sucessfully) removed postgresql-contrib-8.1 
postgresql-plperl-8.1, 
but I did not record the error there)

Please note, that it tries to *start* postgres again.

However, postgresql does not seem to run (no ps entry) and stopping yields:
thirtyto:~# /etc/init.d/postgresql-8.1 stop
Stopping PostgreSQL 8.1 database server: mainthirtyto:~# 
/etc/init.d/postgresql-8.1 stop
Stopping PostgreSQL 8.1 database server: mainthirtyto:~#

(IMHO it should state: not running!)

Also there is no script/programm called maininvoke-rc.d:
thirtyto:~# find /usr/ -name maininvoke-rc.d

returns nothing. Could that be the cause for the failure?

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.5
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages postgresql-8.1 depends on:
ii  libc6         2.3.6-7                    GNU C Library: Shared libraries
ii  libcomerr2    1.38+1.39-WIP-2005.12.31-1 common error description library
ii  libkrb53      1.4.3-6                    MIT Kerberos runtime libraries
ii  libpam0g      0.79-3.1                   Pluggable Authentication Modules l
ii  libpq4        8.1.0-3                    PostgreSQL C client library
ii  libssl0.9.8   0.9.8a-8                   SSL shared libraries
ii  postgresql-cl 8.1.3-4                    front-end programs for PostgreSQL 
ii  postgresql-co 49                         manager for PostgreSQL database cl

postgresql-8.1 recommends no packages.

-- no debconf information
-- 
      Dr. Helge Kreutzmann                     [EMAIL PROTECTED]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to