Bitcoin donations are welcome:14snQXeLcnJtWUduKZ6rC2MHdPYrYar1Tw

Saturday, May 2, 2009

Updating acpid in Debian error

After trying to update debian I get the following errors:


Preparing to replace acpid 1.0.8-6 (using .../acpid_1.0.8-7_i386.deb) ...
* Stopping ACPI services... [ OK ]
invoke-rc.d: initscript acpid, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping ACPI services... [ OK ]
invoke-rc.d: initscript acpid, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/acpid_1.0.8-7_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
* Starting ACPI services... [ OK ]
invoke-rc.d: initscript acpid, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/acpid_1.0.8-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error processing acpid (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.


The solution was simple though:
su
mv /etc/lsb-base-logging.sh /etc/lsb-base-logging.sh.backup


Then try again :)
apt-get upgrade

No comments:

Post a Comment