2009年3月5日星期四

解决Ubuntu 8.04无法更新内核问题

最近碰到的Ubuntu问题还真多,今天开机提示升级内核,there an error :

/var/cache/apt/archives/linux-image-2.6.24-23-generic_2.6.24-23.48_i386.deb: unable to make backup link of `./boot/vmlinuz-2.6.24-23-generic' before installing new version

其实解决办法很简单:

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-23-generic
sudo rm
-fv /boot/initrd.img-2.6.24-23-generic
sudo rm
-fv /boot/config-2.6.24-23-generic
sudo rm
-fv /boot/abi-2.6.24-23-generic
sudo rm
-fv /boot/System.map-2.6.24-23-generic

这些文件删完后不要关机或重启,直接再执行一下升级管理器,这时就可以正常升级内核了:)另外,此问题往往发生在从windows安装Ubuntu双系统的情况下。