PDA

View Full Version : [ubuntu] How do I safely remove/repair a failed upgrade?



mooz123
February 25th, 2012, 08:59 PM
I did a partial upgrade to kernel 3.0.0.16. Afterwards the x server was not working, it seemed. I got a terminal prompt, could log in and the command xstart was not recognized. 3.0.0.15 is still working fine.

Could somebody please help me, what is the best way to repair this?

HP desktop, Ubuntu 11.10, Intel® Core™2 Duo CPU E4500 @ 2.20GHz × 2

darkod
February 25th, 2012, 09:02 PM
Not sure if a repair is better and how to do it, but you can remove it with:
sudo apt-get remove --purge linux-image-3.0.0-16-generic

After that run:
sudo update-grub

to modify the boot menu.

You can probably install -16 later again.

mooz123
February 25th, 2012, 09:14 PM
That solved it, thank you Darko.
Ubuntu magic: posted, answered, implemented and tested in 12 minutes!:)