Upgrading to lenny

2007-01-08 2-minute read

In a rather non-thinking moment, I decided to upgrade Liberace, my laptop machine, to Lenny when I really didn’t have time to recover from problems. Remarkably, I only encountered one which took 5 minutes to deal with!

The Etch release of Debian became the “stable” release yesterday, meaning liberace, which is always tagged to get the “testing” release has now moved on to “Lenny” - the new “testing” release.

After about 45 minutes of downloading and installing (thanks apt-get dist-upgrade) I was ready to go. I only ran into one problem, with acpid:

Starting Advanced Configuration and Power Interface daemon...acpid: can't open /proc/acpi/event: Device or resource busy

I tried:

sudo /etc/init.d/acpid stop sudo /etc/init.d/acpid start

But got the same error. Then I tried:

0 jamie@liberace:$ sudo lsof | grep /proc/acpi/event acpid 4529 root 3r REG 0,3 0 4026532119 /proc/acpi/event 0 jamie@liberace:$ ps aux | grep 4529 root 4529 0.0 0.1 1580 632 ? Ss Mar31 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket jamie 1991 0.0 0.1 1956 628 pts/10 R+ 12:56 0:00 grep 4529 0 jamie@liberace:$

Ok, so it really is acpid that is holding on to this file. Then:

0 jamie@liberace:$ sudo kill 4529 0 jamie@liberace:$ 0 jamie@liberace:$ ps aux | grep 4529 jamie 2005 0.0 0.1 1956 632 pts/10 R+ 12:56 0:00 grep 4529 0 jamie@liberace:$ sudo /etc/init.d/acpid start

And now we’re back in business. Seems like acpid was not shutting down properly.