相关疑难解决方法(0)

添加 PPA 后如何解决未满足的依赖项?

有时,当我安装东西时,我会收到如下错误:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

package-management apt ppa dependencies software-installation

617
推荐指数
10
解决办法
119万
查看次数

如何解决 Ubuntu 和 GIMP 之间的包冲突?

在 Ubuntu 18.04 (Cinnamon) 中,软件包完全cpp-7取决于7.3.0-27ubuntu1~18.04软件包的版本gcc-7-base

$ aptitude why gcc-7-base
i   cpp-7 Depends gcc-7-base (= 7.3.0-27ubuntu1~18.04)
Run Code Online (Sandbox Code Playgroud)

同时,包完全libgfortran4取决于7.3.0-16ubuntu3相同包的版本gcc-7-base

$ apt-cache show libgfortran4
Package: libgfortran4
...
Depends: gcc-7-base (= 7.3.0-16ubuntu3), libc6 (>= 2.27), libgcc1, libquadmath0
Run Code Online (Sandbox Code Playgroud)

libgfortran4如果我已经安装了其他版本的软件包,则不会安装:

$ sudo apt-get install libgfortran4
...
The following packages have unmet dependencies:
 libgfortran4 : Depends: gcc-7-base (= 7.3.0-16ubuntu3) but 7.3.0-27ubuntu1~18.04 is to be installed
                Depends: libquadmath0 but it is not going to be installed …
Run Code Online (Sandbox Code Playgroud)

package-management gimp gcc 18.04

8
推荐指数
1
解决办法
2053
查看次数