Stopping the process before this install did nothing.
Here is this output of a simualtion:-
Code:
rufus-maximus:~# apt-get remove openhpid -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
openhpid
0 upgraded, 0 newly installed, 1 to remove and 40 not upgraded.
31 not fully installed or removed.
Remv openhpid [2.11.2-1]
Conf libvolume-id0 (0.125-5 Debian:testing)
Conf udev (0.125-5 Debian:testing)
Conf x11-xserver-utils (7.3+4 Debian:testing)
Conf adduser (3.110 Debian:testing)
Conf iptables (1.4.1.1-2 Debian:testing)
Conf libncursesw5 (5.6+20080804-1 Debian:testing)
Conf libssl0.9.8 (0.9.8g-13 Debian:testing)
Conf nano (2.0.7-3 Debian:testing)
Conf libxml2 (2.6.32.dfsg-2+lenny1 Debian-Security:None/testing)
Conf liblwres40 (1:9.5.0.dfsg.P2-1 Debian:testing)
Conf perl (5.10.0-13 Debian:testing)
Conf perl-modules (5.10.0-13 Debian:testing)
Conf bzip2 (1.0.5-1 Debian:testing)
Conf libdbus-1-3 (1.2.1-3 Debian:testing)
Conf dbus (1.2.1-3 Debian:testing)
Conf dbus-x11 (1.2.1-3 Debian:testing)
Conf libklibc (1.5.12-2 Debian:testing)
Conf klibc-utils (1.5.12-2 Debian:testing)
Conf libcups2 (1.3.8-1 Debian:testing)
Conf libilmbase6 (1.0.1-2+nmu2 Debian:testing)
Conf libnss3-1d (3.12.0-5 Debian:testing)
Conf libopenhpi2 (2.12.0-1 Debian:testing)
Conf libperl5.10 (5.10.0-13 Debian:testing)
Conf openssl (0.9.8g-13 Debian:testing)
Conf python2.5-minimal (2.5.2-11 Debian:testing)
Conf python2.5 (2.5.2-11 Debian:testing)
Conf grub-common (1.96+20080724-8 Debian:testing)
Conf grub-pc (1.96+20080724-8 Debian:testing)
Conf grub2 (1.96+20080724-8 Debian:testing)
Conf postfix (2.5.4-1 Debian:testing)
Conf postfix-mysql (2.5.4-1 Debian:testing)
This is the output trying to remove openhpid:-
Code:
rufus-maximus:~# apt-get remove openhpid
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
openhpid
0 upgraded, 0 newly installed, 1 to remove and 40 not upgraded.
31 not fully installed or removed.
After this operation, 446kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 51547 files and directories currently installed.)
Removing openhpid ...
Stopping openhpid: /usr/sbin/invoke-rc.d: line 437: 13025 Terminated "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
invoke-rc.d: initscript openhpid, action "stop" failed.
dpkg: error processing openhpid (--remove):
subprocess pre-removal script returned error exit status 143
Starting openhpid: success.
Errors were encountered while processing:
openhpid
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nothing worked! Really annoying me now! Applied some brute force instead
Code:
# find / -name '*openhpid*' -exec rm -rf {} \;
I was then able to apt-get the rest of the upgrade.
Thanks for your contribution
Regards.