我试图安装一个应用程序,它抱怨我使用的软件包太新,然后看到一篇文章说我可以通过安装以下内容来降级它们:
- libpango-1.0-0 (1.42.4-7)
- libpangocairo-1.0-0 (1.42.4-7)
- libpangoft2-1.0-0 (1.42.4-7)
然后:
sudo dpkg -i libpango*.deb
[链接在此][1]
这样做似乎破坏了我的系统,我无法启动大多数东西。
他们提到可以通过以下方式取消此操作:
sudo apt --fix-broken install
我收到以下回复:
The following packages have unmet dependencies:
gir1.2-pango-1.0 : Depends: libpango-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
Depends: libpangocairo-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
Depends: libpangoft2-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
libpango-1.0-0 : Breaks: libpango-1.0-0:i386 (!= 1.42.4-7) but 1.44.7-2ubuntu4 is installed
libpango-1.0-0:i386 : Breaks: libpangocairo-1.0-0 (< 1.44.7) but 1.42.4-7 is installed
Breaks: libpangoft2-1.0-0 (< 1.44.7) but 1.42.4-7 is installed
Breaks: libpango-1.0-0 (!= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
libpango1.0-dev : Depends: libpango-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
Depends: libpangocairo-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
Depends: libpangoft2-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
libpangocairo-1.0-0 : Breaks: libpangocairo-1.0-0:i386 (!= 1.42.4-7) but 1.44.7-2ubuntu4 is
installed
libpangocairo-1.0-0:i386 : Breaks: libpangocairo-1.0-0 (!= 1.44.7-2ubuntu4) but 1.42.4-7 is
installed
libpangoft2-1.0-0 : Breaks: libpangoft2-1.0-0:i386 (!= 1.42.4-7) but 1.44.7-2ubuntu4 is
installed
libpangoft2-1.0-0:i386 : Breaks: libpangoft2-1.0-0 (!= 1.44.7-2ubuntu4) but 1.42.4-7 is
installed
libpangoxft-1.0-0 : Depends: libpango-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
Depends: libpangoft2-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
nautilus : Depends: libpango-1.0-0 (>= 1.44.6) but 1.42.4-7 is installed
pango1.0-tools : Depends: libpango-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
Depends: libpangocairo-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
Depends: libpangoft2-1.0-0 (= 1.44.7-2ubuntu4) but 1.42.4-7 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a
solution).
如果有人能帮助我解决这个问题,或者只是给我指出正确的方向,以便我可以尝试这样做,而不是重新安装,那就太好了:)
解决启动到维护状态并选择修复损坏的软件包。
答案1
已解决:启动到维护模式并选择修复损坏的软件包。