Install failed with Errors were encountered while processing: acpid

I'm sure there are plenty of other packages that fail with a similar error.

I was trying to do a apt-get dist-upgrade after switching from etch to unstable. It was hanging on acpid.

Here is one of the errors I was getting,

Setting up acpid (1.0.6-5) ...
tar: Removing leading `/' from member names
tar: /etc/logrotate.d/acpid*: Cannot stat: No such file or directory
tar: /var/log/acpid*: Cannot stat: No such file or directory
tar: /etc/acpi/powerbtn.sh*: Cannot stat: No such file or directory
tar: /etc/acpi/events/powerbtn*: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
Stopping Hardware abstraction layer: hald.
Loading ACPI modules....
Starting Advanced Configuration and Power Interface daemon...invoke-rc.d: initscript acpid, action "start" failed.
dpkg: error processing acpid (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 acpid
E: Sub-process /usr/bin/dpkg returned an error code (1)

Anyway, after some searching, I found three commands that should remedy this situation. (Perform as root or with sudo.)

# /etc/init.d/acpid stop
# dpkg --configure acpid
# dpkg --configure -a

I would assume if another program was failing, you could substitute that package name for acpid in the three commands above.

I did as this guy said, and stopped acpid a couple times to make sure it stopped.

Another example

Okay, I ran into this again with libdjvulibre21. It couldn't be installed because libdjvulibre15 was installed. Basically, you remove 15 and continue the install to install 21. Below are the commands. Found at http://bugs.debian.org ».

# dpkg -P libdjvulibre15
# apt-get -f install

http://ubuntuforums.org/archive/index.php/t-416676.html »

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.