Subject: dpkg: I couldn't remove a package, even when I use --force-all Package: dpkg Version: 1.10.18 Severity: normal Tags: sid
-- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: linux 2.6.0-test9 #1 Sun Oct 26 20:42:21 CET 2003 i686
Versions of packages dpkg depends on:
ii dselect 1.10.18 a user tool to manage Debian packa
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
After several unsuccessful attempts to update a package, I wanted to remove it:
# dpkg -r --force-all interchange-cat-foundation
(Reading database ... 150876 files and directories currently installed.)
Removing interchange-cat-foundation ...
The previous Interchange server was not running and probably
terminated with an error.
Killing Interchange server 0 with HUP.
/usr/sbin/interchange: line 15: 1742 Hangup su -s /bin/sh -c "$CMD" $USER
dpkg: error processing interchange-cat-foundation (--remove):
subprocess pre-removal script returned error exit status 129
The previous Interchange server was not running and probably
terminated with an error.
Killing Interchange server 0 with HUP.
/usr/sbin/interchange: line 15: 1800 Hangup su -s /bin/sh -c "$CMD" $USER
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 129
Errors were encountered while processing:
interchange-cat-foundation
***
During this process dpkg/debconf asks if I want to replace the existing interchange-catalog. It seems that dpkg tries to configure the package, which should be removed.
I tried this (dpkg -r --force-all) many times, always with the same result.
Dpkg should not try to install or configure a package, when I use the -r(emove).
(There may be a problem with the package too, but it is a problem of dpkg when it can't remove this package. )