我试图将我的内核版本从2.6.32升级到3.2.0.0。当我尝试:
sudo apt-get install linux-image-3.16.0-4-amd64
我收到以下错误消息:
linux-image-3.16.0-4-amd64 : Depends: linux-base (>= 3~) but 2.6.32-48squeeze6 is to be installed
Recommends: firmware-linux-free (>= 3~) but it is not going to be installed
Recommends: irqbalance but it is not going to be installed
Breaks: initramfs-tools (< 0.110~) but 0.98.8 is to be installed
我读到这个问题与同时拥有两个内核版本有关,所以我尝试了squeeze backports选项。添加行后:
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
到我的/etc/apt/sources.list,然后运行以下命令:
sudo apt-get install -t squeeze-backports linux-image-3.16.0-4-amd64
我收到与上面相同的错误消息。有人可以向我解释问题是什么,以及我将如何继续安装新内核?
顺便说一下,当我输入sudo apt-get install -f
时,我收到以下消息:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libfuzzy-dev : Depends: libfuzzy2 (= 2.12-1) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies