我正在尝试在ubuntu 18.04上安装gdb-multiarch。当我使用sudo apt-get install gdb-multiarch时,我得到了以下错误。
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
gdb-multiarch : Depends: gdb (= 8.1-0ubuntu3.2) but it is not going to be installed
Depends: libpython3.6 (>= 3.6.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.我找不到安装上述依赖项的方法。
发布于 2020-09-10 22:58:29
这可能是由于安装的python版本没有包含在Ubuntu安装中,所以您的包管理器对如何处理感到困惑。
这对我很有效:
https://stackoverflow.com/questions/63786911
复制相似问题