PDA

View Full Version : [all variants] Interrupted unattended-upgrade



Chris1492
February 15th, 2011, 07:59 PM
Hello Ubuntu people

A client's laptop, running Ubuntu 10.4, suddenly lost its wifi a few days ago.

It turned out that unattended-upgrades had installed a new kernel version, but had then been interrupted before the installation was complete. Possibly the user had switched off the laptop in the middle of the update process.

All that was required to fix the problem was 'dpkg --configure -a'.

So I'm looking for a way to stop this happening again.

Would running 'dpkg --configure -a' via cron at every boot be over the top? Would it cause other problems?

cheers

Chris