昨天我在我的 Debian Lenny 服务器上进行了 dist-upgrade。我认为这会像通常的升级一样容易,但事实并非如此。更新后我遇到了很多问题:
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-2.6-amd64 : Depends: linux-image-2.6.32-5-amd64 but it is not installed
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)
然后我尝试了这个建议:
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer …Run Code Online (Sandbox Code Playgroud)