所以我经常遇到这个问题,而且我在网上(在 AskUbuntu 上也找不到任何能帮我解决的问题)都找不到。我的意思是,我尝试了各种方法,但不幸的是,它们对我不起作用。我将发布我最近一次安装具有未满足独立性的软件包的尝试:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
variety : Depends: gir1.2-gexiv2-0.10 but it is not going to be installed
Depends: python-bs4 but it is not going to be installed
Depends: python-cairo but it is not going to be installed
Depends: python-configobj but it is not going to be installed
Depends: python-dbus but it is not going to be installed
Depends: python-gi-cairo but it is not going to be installed
Depends: python-pil but it is not going to be installed
Depends: python-pycurl but it is not going to be installed
Depends: python-requests but it is not going to be installed
Recommends: gir1.2-ayatanaappindicator3-0.1 but it is not installable or
gir1.2-appindicator3-0.1 but it is not going to be installed
Recommends: python-httplib2 but it is not going to be installed
wallch:i386 : Depends: libunity9:i386 (>= 3.4.6) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
因此,我已经尝试手动安装这些依赖项,这就是它的输出
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
wallch:i386 : Depends: libunity9:i386 (>= 3.4.6) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
真的找不到解决办法。我会告诉你们我已经尝试过的方法,这样会更容易一些
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install -f
sudo apt --fix-broken install variety
我也尝试过删除并重新安装存储库。我在网上查过,软件包是最新的,所以它应该与 Ubuntu 17.10 兼容。我可能忘记了为解决问题而尝试做的一些事情,但至少这些是其中的一些。我该怎么做才能解决这个问题?