danf@skittles:~$ sudo dpkg -P --force-depends --force-remove-reinstreq win4linpro--
dpkg: warning: overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 184295 files and directories currently installed.)
Removing win4linpro ...
- Removing Win4Lin Pro services
insserv: warning: script 'S01linux-restricted-modules-common' missing LSB tags and overrides
insserv: warning: script 'K20acpi-support' missing LSB tags and overrides
insserv: warning: script 'S10powernowd.early' missing LSB tags and overrides
insserv: warning: script 'powernowd.early' missing LSB tags and overrides
insserv: warning: script 'rpc_pipefs' missing LSB tags and overrides
insserv: warning: script 'ufw' missing LSB tags and overrides
insserv: warning: script 'udevmonitor' missing LSB tags and overrides
insserv: warning: script 'atd' missing LSB tags and overrides
insserv: warning: script 'hwclock' missing LSB tags and overrides
insserv: warning: script 'rsyslog-kmsg' missing LSB tags and overrides
insserv: warning: script 'module-init-tools' missing LSB tags and overrides
insserv: warning: script 'acpi-support' missing LSB tags and overrides
insserv: warning: script 'usplash' missing LSB tags and overrides
insserv: script vmware-autostart: service VMware already provided!
insserv: warning: script 'linux-restricted-modules-common' missing LSB tags and overrides
insserv: warning: script 'dbus' missing LSB tags and overrides
insserv: warning: script 'udevtrigger' missing LSB tags and overrides
insserv: script umount__networkShares.sh: service umountfs already provided!
insserv: warning: script 'idmapd' missing LSB tags and overrides
insserv: warning: script 'procps' missing LSB tags and overrides
insserv: warning: script 'cron' missing LSB tags and overrides
insserv: script vmware-mgmt: service VMware already provided!
insserv: warning: script 'kdm' missing LSB tags and overrides
insserv: warning: script 'dmesg' missing LSB tags and overrides
insserv: warning: script 'rsyslog' missing LSB tags and overrides
insserv: warning: script 'sreadahead' missing LSB tags and overrides
insserv: warning: script 'portmap' missing LSB tags and overrides
insserv: warning: script 'anacron' missing LSB tags and overrides
insserv: warning: script 'hwclock-save' missing LSB tags and overrides
insserv: warning: script 'hal' missing LSB tags and overrides
insserv: warning: script 'network-manager' missing LSB tags and overrides
insserv: script vmware-core: service VMware already provided!
insserv: warning: script 'apport' missing LSB tags and overrides
insserv: warning: script 'udev' missing LSB tags and overrides
insserv: warning: script 'acpid' missing LSB tags and overrides
insserv: warning: script 'avahi-daemon' missing LSB tags and overrides
insserv: warning: script 'gssd' missing LSB tags and overrides
insserv: warning: script 'udev-finish' missing LSB tags and overrides
insserv: warning: script 'statd' missing LSB tags and overrides
insserv: There is a loop between service rsyslog and hwclock if stopped
insserv: loop involving service hwclock at depth 4
insserv: loop involving service sysklogd at depth 3
insserv: There is a loop between service hwclock and sysklogd if started
insserv: loop involving service sysklogd at depth 3
insserv: loop involving service hwclock at depth 2
insserv: loop involving service rsyslog at depth 1
insserv: loop involving service postgresql at depth 5
insserv: loop involving service rsyslog at depth 5
insserv: exiting without changing boot order!
/sbin/insserv failed, exit code 1
dpkg: error processing win4linpro (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
win4linpro
danf@skittles:~$
No problem. i had a similar problem with a broken package and had to
work hard to solve it. I think this was what finally solved the problem
dpkg --purge --force-all package_name
/good luck with your issue.
I have tried running dpkg --configure -a, apt-get -f, sudo rm
-f /var/lib/apt/lists/*,
Still unable to access package manager.
This was the fix that worked (it looks similar to one you tried)
sudo dpkg --remove --force-remove-reinstreq xxx
THe following note was offered by gringo
ExtrEmE User
From: Germany
"About the command :
debianadmin.com wrote:
reinst-required
A package marked reinst-required is broken and requires
reinstallation. These packages cannot be removed,
unless forced with option --force-remove-reinstreq.
>From here : http://www.debianadmin.com/manpages/dpkgmanpage.htm"
Hope there may be some clue hidden in this.
Dave
#! /bin/sh -e
### BEGIN INIT INFO
# Provides: hwclock
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop: 0 6
# Short-Description: hwclock... (hope this works)
# Description: Does stuff for the hwclock... yeah. Hope it works.
### END INIT INFO
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
. /lib/init/upstart-job
/etc/rc0.d/K25hwclock.sh
/etc/rc6.d/K25hwclock.sh