Impossible to uninstall ubuntu 2.6.32-26

Asked by Pawel

When I was updating my ubuntu from 2.6.32-26 to 2.6.32-28, I got the following message in the Synaptic Package Manager (when I selected 2.6.32-26 for removal / complete removal):

===
W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-headers-generic_2.6.32.28.32_i386.deb
  404 Not Found [IP: 91.189.92.167 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-generic_2.6.32.28.32_i386.deb
  404 Not Found [IP: 91.189.92.167 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-image-generic_2.6.32.28.32_i386.deb
  404 Not Found [IP: 91.189.92.167 80]
===

Now my Grub shows two kernels installed (2.6.32-26, 2.6.32-28). I am successfully running 2.6.32-28:
$ uname -a
Linux pawel-laptop 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux

Is there any other way to uninstall 2.6.32-26?
Possibly, I could manually remove 2.6.32-26 related files, but I am afraid this may lead to boot problems. How to remove the 2.6.32-26 from grub ?

I would appreciate any comments!

Best Regards,
Pawel

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Solved by:
Bhaveek Desai
Solved:
Last query:
Last reply:
Revision history for this message
Pawel (pawel-szyszuk) said :
#1

Internet search returns results which are not helpful, e.g.:
http://www.howtogeek.com/howto/ubuntu/clean-up-ubuntu-grub-boot-menu-after-upgrades/
This is probably related to an old version of Grub.

Revision history for this message
Pawel (pawel-szyszuk) said :
#2

ubuntu-tweak "Clean Kernels" does not help, the same warnings displayed:

W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-headers-generic_2.6.32.28.32_i386.deb
  404 Not Found [IP: 91.189.92.166 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-generic_2.6.32.28.32_i386.deb
  404 Not Found [IP: 91.189.92.166 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta/linux-image-generic_2.6.32.28.32_i386.deb
  404 Not Found [IP: 91.189.92.166 80]

Revision history for this message
Best Bhaveek Desai (bhaveekdesai) said :
#3

Assuming you hav installed -2.6.32-28- and removal of earlier kernel version is a problem, do the following:

open /boot
delete following files manually:

vmlinux-2.6.32-26-generic
vmcoreinfo--2.6.32-26-generic
initrd.img--2.6.32-26-generic
config--2.6.32-26-generic
abi--2.6.32-26-generic
System.map--2.6.32-26-generic

(basically any files being named on -2.6.32-26-)

then, open terminal and type:
sudo update-grub
<provide with password and press enter>

Revision history for this message
Pawel (pawel-szyszuk) said :
#4

Thanks!
I was able to delete the older kernel version and update grub.

Best Regards,
Pawel