当尝试安装任何东西时:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
colord : Depends: libsane (>= 1.0.11-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
我尝试跑步apt-get -f install
,但apt-get install libsane
没有成功。
答案1
运行sudo rm /etc/sane.d/abaton.conf /var/cache/apt/archives/libsane_1.0.22-7ubuntu1_amd64.deb
(它将强制重新下载 libsane),然后重试apt-get -f install