У меня проблема с установкой ansible на мой Xubuntu 18.04.
Жалуется:
sudo apt install ansible
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:
ansible : Depends: python-httplib2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
На моем компьютере установлено 3 python:
sudo update-alternatives --config python
There are 3 choices for the alternative python (providing /usr/bin/python).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/python2.7 3 auto mode
1 /usr/bin/python2.7 3 manual mode
2 /usr/bin/python3.6 2 manual mode
* 3 /usr/bin/python3.7 1 manual mode
Press <enter> to keep the current choice[*], or type selection number:
Как вы видите, версия 3.7 используется. Когда я пытаюсь установить python-httplib2
конкретный c, он жалуется:
sudo apt-get install python-httplib2
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:
python-httplib2 : Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
Depends: ca-certificates but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Что я делаю не так?