![ubuntu 发行版升级已损坏](https://linux22.com/image/608780/ubuntu%20%E5%8F%91%E8%A1%8C%E7%89%88%E5%8D%87%E7%BA%A7%E5%B7%B2%E6%8D%9F%E5%9D%8F%20.png)
我试图升级我的 ubuntu 11.10 发行版。这个过程卡住了。我重启了电脑,当尝试运行 dpkg 命令时,我收到以下错误 -
murtaza@murtaza-dev:~$ sudo dpkg --configure -a
[sudo] password for murtaza:
dpkg: dependency problems prevent configuration of grub-pc-bin:
grub-pc-bin depends on grub-common (= 1.99-21ubuntu3.9); however:
Package grub-common is not installed.
dpkg: error processing grub-pc-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-pc:
grub-pc depends on grub-common; however:
Package grub-common is not installed.
grub-pc depends on grub-pc-bin (= 1.99-21ubuntu3.9); however:
Package grub-pc-bin is not configured yet.
dpkg: error processing grub-pc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnih-dbus1:
libnih-dbus1 depends on libnih1 (= 1.0.3-4ubuntu9.1); however:
Version of libnih1 on system is 1.0.3-4ubuntu2.
dpkg: error processing libnih-dbus1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub2-common:
grub2-common depends on grub-common (= 1.99-21ubuntu3.9); however:
Package grub-common is not installed.
dpkg: error processing grub2-common (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
grub-pc-bin
grub-pc
libnih-dbus1
grub2-common
答案1
您没有用来dpkg
更新系统,是吗?!
尝试使用 进行恢复apt-get install -f
。