问题

问题

问题

请告知为什么无法安装python3-boto,如下所示。

$ sudo apt install -f python3-boto
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:
 python3-boto : Depends: python3-requests but it is not going to be installed
                Depends: python3:any (>= 3.3.2-2~)
                Depends: python3-six but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

python3-requests 和 python3-six 已经安装。

$ sudo apt install -f python3-requests
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-requests is already the newest version (2.18.4-2ubuntu0.1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.


$ sudo apt install -f python3-six
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3-six is already the newest version (1.11.0-2).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

尝试过尝试重新安装后,python 依赖项损坏但并没有什么区别。

环境

64 位 DELL 笔记本电脑。

NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

相关内容