11/03/2008

Update Error of linux-image on Ubuntu 8.04

When you install new update package named
Linux image 2.6.24-19-generic (版本 2.6.24-19.34)
(Linux kernel image for version 2.6.24 on x86/x86_64.)

, there an error :
/var/cache/apt/archives/linux-image-2.6.24-19-generic_2.6.24-19.43_i386.deb: unable to make backup link of `./boot/vmlinuz-2.6.24-19-generic' before installing new version

Solution:

Open a terminal, then execute the following command:

sudo rm -fv /boot/initrd.img-2.6.24*.bak
sudo rm -fv /boot/vmlinuz-2.6.24-19-generic
sudo rm -fv /boot/initrd.img-2.6.24-19-generic
sudo rm -fv /boot/config-2.6.24-19-generic
sudo rm -fv /boot/abi-2.6.24-19-generic
sudo rm -fv /boot/System.map-2.6.24-19-generic

No comments: