PDA

View Full Version : [ubuntu] Linux kernel update hangs



LG_Auction
September 19th, 2010, 07:02 PM
Yesterday the 10.04 update manager showed a kernel update. It downloaded and is hung at the unpacking statement. It's been there for hours.

What happens if I shut down?
What do I try next?

Thanks in advance.

LG_Auction
September 20th, 2010, 04:02 PM
I tried Ctrl-C to end the update. Nothing happened.
I tried to shut down. Nothing happened.
I used the trusty hold the power button shut off and that worked.
Cold boot.
Update manager says that and update did not complete. "No kidding"
Continued the update.

The "thing" is stuck at unpacking the kernel AGAIN.

What would anyone suggest as the next try (I know a large hammer is what I would recommend. "If it jams, force it. If it breaks, you needed a new one anyway.")

llawwehttam
September 20th, 2010, 04:05 PM
Try running the following:


sudo apt-get autoclean ; sudo apt-get autoremove ; sudo apt-get clean ; sudo apt-get update ; sudo apt-get upgrade


If it still hangs please post any errors that come up or post what the output is.

LG_Auction
September 20th, 2010, 04:44 PM
Thank you!

The only error message was:

dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

After I ran that, I ran the apt-get commands that you provided and all was well.

Have a great day.