首页 > 解决方案 > 在 Ubuntu 18.04 中安装图形工具时出错

问题描述

我按照网站上的安装说明进行操作:

https://git.skewed.de/count0/graph-tool/-/wikis/installation-instructions

用于在 Ubuntu 18.04 上安装图形工具,但是当我在终端中编写“sudo apt-get install python3-graph-tool”时,它给了我以下错误:

阅读包裹清单...完成

构建依赖树

读取状态信息...完成

某些软件包无法安装。这可能意味着您请求了一种不可能的情况,或者如果您使用的是不稳定的发行版,一些必需的软件包尚未创建或已从 Incoming 中移出。

以下信息可能有助于解决这种情况:

以下包具有未满足的依赖项:

python3-graph-tool :取决于:libboost-context1.67.0 但它不可安装

                  Depends: libboost-iostreams1.67.0 but it is not installable

                  Depends: libboost-python1.67.0 but it is not installable

                  Depends: libboost-python1.67.0-py38 but it is not installable

                  Depends: libboost-regex1.67.0-icu63 but it is not installable

                  Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
                  Depends: libgcc-s1 (>= 3.4) but it is not installable

                  Depends: libgomp1 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed

                  Depends: libstdc++6 (>= 9) but 8.4.0-1ubuntu1~18.04 is to be installed

E: 无法纠正问题,您持有破损的包裹。

有谁知道我该如何解决?

标签: pythonpython-3.xinstallationubuntu-18.04graph-tool

解决方案


尝试改变分布

deb [arch=amd64] https://downloads.skewed.de/apt分布主要

页面上的选项(bullseye、buster、sid、bionic、eoan、focal、groovy)中,只有“focal”对我有用。


推荐阅读