Problems Purging Old Kernel Packages.. Needs Help!
Aaron Lewis
aaron.lewis1989 at gmail.com
Wed Nov 25 09:12:29 UTC 2009
Hi,
I'm new to ubuntu,before that i use slackware.
root# apt-get install -y linux-source
Then I tried to compile a new kernel with make-kpkg.
Successfully installed new kernel with dpkg.
root# dpkg -i ../*deb
Now I removed it for updates:
root# apt-get remove linux-image-...
It's really bad .. i forgot to use --purge to get rid of all things.
When i install bootchart, i found the problem.
root# apt-get install bootchart
--snip--
update-initramfs: Generating /boot/initrd.img-2.6.31.4core2
Cannot find /lib/modules/2.6.31.4core2
update-initramfs: failed for /boot/initrd.img-2.6.31.4core2
update-initramfs: Generating /boot/initrd.img-2.6.31.4-core2
Cannot find /lib/modules/2.6.31.4-core2
update-initramfs: failed for /boot/initrd.img-2.6.31.4-core2
update-initramfs: Generating /boot/initrd.img-2.6.31-15-386
--snip--
Anyway to purge it? ( Sorry i deleted my own deb packages.)
A dirty hack:
root# mkdir /lib/modules/2.6.31.4core2
--
Best Regards,
Aaron Lewis
Supinfo UNIV.
China Campus,SUST
Red Hat Certificated Engineer
B2 Student Representative
SUST Linux Labo Local Manager
More information about the ubuntu-users
mailing list