今天我去找我奶奶,因为她的电脑有一些问题,运行着 Xubuntu 12.04LTS。解决“问题”后(Firefox 设置为全屏……)我照常运行apt-get update && apt-get dist-upgrade
以立即更新所有内容。相反,我遇到了一些未正确安装的软件包的错误。所以我跑了dpkg --configure -a
。我的猜测是,因为 Firefox 是全屏的,她不知道如何关闭她的计算机,只是简单地关闭了它,可能正是在它安装自动安全更新的时候。dpkg --configure -a
然而,运行只给我留下了关于未满足的依赖项的错误消息linux-generic
。apt-get dist-upgrade
再次运行时,它告诉我同样的情况,我应该尝试该-f
选项。但是,即使在尝试强制升级时,它仍然不会安装它们。
这是命令的输出(添加 LANG=C 因为默认语言是荷兰语)。
jeroen@Bomma:/home/bomma$ LANG=C sudo apt-get dist-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-generic : Depends: linux-image-generic (= 3.2.0.37.45) but 3.2.0.38.46 is installed
Depends: linux-headers-generic (= 3.2.0.37.45) but 3.2.0.38.46 is …
Run Code Online (Sandbox Code Playgroud)