如何在安装软件包时删除关于 cups 的“未满足的依赖项错误”?

sou*_*aji 3 package-management apt dpkg dependencies printing

安装八度或 wxmaxima 时,我在终端中看到此错误

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 cups : Depends: cups-daemon (>= 2.1.3-4ubuntu0.2)
 cups-core-drivers : Depends: cups-daemon (>= 2.1.3-4ubuntu0.2)
 cups-daemon : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to 
be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)

Mic*_*ole 5

我认为有人在打包更新时犯了一个错误。我在这里提交了一个错误: https //bugs.launchpad.net/ubuntu/+source/cups/+bug/1676621

如果它影响到您,则顶部有一个链接“此错误影响您”,它将确认该错误,以便开发人员可以开始查看它。

更新:该错误的结尾表明这对我有用:

sudo apt-get install libcups2=2.1.3-4 cups libcupscgi1=2.1.3-4 libcupsimage2=2.1.3-4 libcupsmime1=2.1.3-4 libcupsppdc1=2.1.3-4 cups-core-drivers cups-daemon ghostscript cups-client=2.1.3-4 cups-ppdc cups-filters printer-driver-gutenprint cups-filters
Run Code Online (Sandbox Code Playgroud)