Friday, December 27, 2019

Ansible : Depends: python-httplib2 but it is not going to be installed

While trying to install Ansible from the official PPA on Ubuntu 18.04, I got this error


$ sudo apt-get install ansible
sudo: start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()
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.



Apt Fix Broken

First, try the -f or --fix-broken option


$ sudo apt-get install -f
sudo: start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.



Nope, nothing is truly broken.

Packages on Hold

The initial apt command reports "you have held broken packages". Let's see what are the packages that are being held. You can use dpkg --get-selections


$ dpkg --get-selections | grep hold



or  dpkg -l


$ dpkg -l | grep "^hi"



or apt-mark


$ apt-mark showhold



There are no packages held in the scenario that I am facing.

Show Up-gradable Packages

Before changing anything further, it is worth getting all packages upgraded. Use aptitude


$ aptitude -F%p --disable-columns search ~U
cuda-nvjpeg-10-0
cuda-nvjpeg-dev-10-0
libvdpau1
libvulkan1
vdpau-driver-all



or apt-check


$ /usr/lib/update-notifier/apt-check -p; echo
libvulkan1
cuda-nvjpeg-10-0
libvdpau1
cuda-nvjpeg-dev-10-0
vdpau-driver-all



Let's upgrade them


$ sudo apt upgrade cuda-nvjpeg-10-0 cuda-nvjpeg-dev-10-0 libvdpau1 libvulkan1 vdpau-driver-all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  cuda-nvjpeg-10-0 cuda-nvjpeg-dev-10-0 libvdpau1 libvulkan1 vdpau-driver-all
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 139 kB/2,527 kB of archives.
After this operation, 7,001 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 file:/var/cuda-repo-10-0-local-nvjpeg-update-1  cuda-nvjpeg-10-0 10.0.130.1-1 [1,302 kB]
Get:2 file:/var/cuda-repo-10-0-local-nvjpeg-update-1  cuda-nvjpeg-dev-10-0 10.0.130.1-1 [1,086 kB]
Get:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libvdpau1 amd64 1.3-0ubuntu0~gpu18.04.2 [29.3 kB]
Get:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libvulkan1 amd64 1.1.126.0-2~gpu18.04.1 [101 kB]
Get:5 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 vdpau-driver-all amd64 1.3-0ubuntu0~gpu18.04.2 [8,392 B]
Fetched 139 kB in 5s (27.5 kB/s)
(Reading database ... 254639 files and directories currently installed.)
Preparing to unpack .../cuda-nvjpeg-10-0_10.0.130.1-1_amd64.deb ...
Unpacking cuda-nvjpeg-10-0 (10.0.130.1-1) over (10.0.130-1) ...
Preparing to unpack .../cuda-nvjpeg-dev-10-0_10.0.130.1-1_amd64.deb ...
Unpacking cuda-nvjpeg-dev-10-0 (10.0.130.1-1) over (10.0.130-1) ...
Preparing to unpack .../libvdpau1_1.3-0ubuntu0~gpu18.04.2_amd64.deb ...
Unpacking libvdpau1:amd64 (1.3-0ubuntu0~gpu18.04.2) over (1.1.1-3ubuntu1) ...
Preparing to unpack .../libvulkan1_1.1.126.0-2~gpu18.04.1_amd64.deb ...
Unpacking libvulkan1:amd64 (1.1.126.0-2~gpu18.04.1) over (1.1.70+dfsg1-1) ...
Preparing to unpack .../vdpau-driver-all_1.3-0ubuntu0~gpu18.04.2_amd64.deb ...
Unpacking vdpau-driver-all:amd64 (1.3-0ubuntu0~gpu18.04.2) over (1.1.1-3ubuntu1) ...
Setting up vdpau-driver-all:amd64 (1.3-0ubuntu0~gpu18.04.2) ...
Setting up libvulkan1:amd64 (1.1.126.0-2~gpu18.04.1) ...
Setting up cuda-nvjpeg-10-0 (10.0.130.1-1) ...
Setting up cuda-nvjpeg-dev-10-0 (10.0.130.1-1) ...
Setting up libvdpau1:amd64 (1.3-0ubuntu0~gpu18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...



Use Aptitude

Upgrading all packages did not solve the problem. Let's use Aptitude to install the package


e$ sudo aptitude install ansible
sudo: start_tls specified but LDAP libs do not support ldap_start_tls_s() or ldap_start_tls_s_np()
The following NEW packages will be installed:
  ansible python-asn1crypto{a} python-cffi-backend{a} python-crypto{a}
  python-cryptography{a} python-enum34{a} python-httplib2{a} python-idna{a}
  python-ipaddress{a} python-jinja2{a} python-markupsafe{a}
  python-paramiko{a} python-pkg-resources{a} python-setuptools{a}
  python-six{a} python-yaml{a} sshpass{a}
0 packages upgraded, 17 newly installed, 0 to remove and 5 not upgraded.
Need to get 7,310 kB of archives. After unpacking 66.0 MB will be used.
The following packages have unmet dependencies:
 libssl1.1 : Breaks: python-httplib2 (<= 0.9.2+dfsg-1) but 0.9.2+dfsg-1 is to be installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     ansible [Not Installed]
2)     python-httplib2 [Not Installed]



Accept this solution? [Y/n/q/?]



Ah, now we can see what is the problem. " libssl1.1" needs a lower version of "python-httplib2". The default option given by Aptitude will not install anything. Let's answer "n" and see what is the next option that Aptitude offers.


      Downgrade the following packages:
1)      curl [7.58.0-2ubuntu3.8 (now) -> 7.58.0-2ubuntu3.1 (bionic-updates)]
2)      libcurl4 [7.58.0-2ubuntu3.8 (now) -> 7.58.0-2ubuntu3.1 (bionic-updates)]
3)      libio-socket-ssl-perl [2.060-3~ubuntu18.04.1 (now) -> 2.056-1 (bionic)]
4)      libmysqlclient20 [5.7.28-0ubuntu0.18.04.4 (now) -> 5.7.22-0ubuntu18.04.1
5)      libnet-ssleay-perl [1.84-1ubuntu0.2 (now) -> 1.84-1build1 (bionic)]
6)      libpython3.6 [3.6.8-1~18.04.3 (now) -> 3.6.5-3 (bionic)]
7)      libpython3.6-minimal [3.6.8-1~18.04.3 (now) -> 3.6.5-3 (bionic)]
8)      libpython3.6-stdlib [3.6.8-1~18.04.3 (now) -> 3.6.5-3 (bionic)]
9)      libruby2.5 [2.5.1-1ubuntu1.6 (now) -> 2.5.1-1ubuntu1 (bionic)]
10)     libssl1.1 [1.1.1-1ubuntu2.1~18.04.5 (now) -> 1.1.0g-2ubuntu4 (bionic)]
11)     mysql-client-core-5.7 [5.7.28-0ubuntu0.18.04.4 (now) -> 5.7.22-0ubuntu18
12)     mysql-server-core-5.7 [5.7.28-0ubuntu0.18.04.4 (now) -> 5.7.22-0ubuntu18
13)     openssl [1.1.1-1ubuntu2.1~18.04.5 (now) -> 1.1.0g-2ubuntu4 (bionic)]
14)     python3-cryptography [2.1.4-1ubuntu1.3 (now) -> 2.1.4-1ubuntu1.1 (bionic
15)     python3.6 [3.6.8-1~18.04.3 (now) -> 3.6.5-3 (bionic)]
16)     python3.6-minimal [3.6.8-1~18.04.3 (now) -> 3.6.5-3 (bionic)]



Accept this solution? [Y/n/q/?] Y



Aptitude is proposing we downgrade 16 packages. The biggest impact which are:
  • Python 3.6.8 -> 3.6.5
  • MySQL 5.7.28 -> 5.7.22
  • OpenSSL 1.1.1 -> 1.1.0

Due to the specific dependency of Ansible to a version of python-httplib2 that in turn depends on Python 3.6.5, we need to downgrade a few Ubuntu 18.04 packages. I think those are acceptable.

Let's proceed with the install...


The following packages will be DOWNGRADED:
  curl libcurl4 libio-socket-ssl-perl libmysqlclient20 libnet-ssleay-perl
  libpython3.6 libpython3.6-minimal libpython3.6-stdlib libruby2.5
  libssl1.1 mysql-client-core-5.7 mysql-server-core-5.7 openssl
  python3-cryptography python3.6 python3.6-minimal
The following NEW packages will be installed:
  ansible python-asn1crypto{a} python-cffi-backend{a} python-crypto{a}
  python-cryptography{a} python-enum34{a} python-httplib2{a} python-idna{a}
  python-ipaddress{a} python-jinja2{a} python-markupsafe{a}
  python-paramiko{a} python-pkg-resources{a} python-setuptools{a}
  python-six{a} python-yaml{a} sshpass{a}
0 packages upgraded, 17 newly installed, 16 downgraded, 0 to remove and 0 not upgraded.
Need to get 33.9 MB of archives. After unpacking 68.2 MB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main amd64 ansible all 2.9.2-1ppa~bionic [5,778 kB]
Get: 2 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 libpython3.6 amd64 3.6.5-3 [1,448 kB]
Get: 3 http://aptmirror.corp.com/ubuntu180401 bionic-updates/main amd64 mysql-client-core-5.7 amd64 5.7.22-0ubuntu18.04.1 [6,979 kB]
Get: 4 http://aptmirror.corp.com/ubuntu180401 bionic-updates/main amd64 libmysqlclient20 amd64 5.7.22-0ubuntu18.04.1 [815 kB]
Get: 5 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 openssl amd64 1.1.0g-2ubuntu4 [532 kB]
Get: 6 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 libio-socket-ssl-perl all 2.056-1 [172 kB]
Get: 7 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 libnet-ssleay-perl amd64 1.84-1build1 [282 kB]
Get: 8 http://aptmirror.corp.com/ubuntu180401 bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.1 [159 kB]
Get: 9 http://aptmirror.corp.com/ubuntu180401 bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.1 [214 kB]
Get: 10 http://aptmirror.corp.com/ubuntu180401 bionic-updates/main amd64 mysql-server-core-5.7 amd64 5.7.22-0ubuntu18.04.1 [7,764 kB]
Get: 11 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 libruby2.5 amd64 2.5.1-1ubuntu1 [3,066 kB]
Get: 12 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python3-cryptography amd64 2.1.4-1ubuntu1.1 [220 kB]
Get: 13 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python3.6 amd64 3.6.5-3 [186 kB]
Get: 14 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 libpython3.6-stdlib amd64 3.6.5-3 [1,648 kB]
Get: 15 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python3.6-minimal amd64 3.6.5-3 [1,425 kB]
Get: 16 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 libpython3.6-minimal amd64 3.6.5-3 [529 kB]
Get: 17 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 libssl1.1 amd64 1.1.0g-2ubuntu4 [1,128 kB]
Get: 18 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-markupsafe amd64 1.0-1build1 [13.0 kB]
Get: 19 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-jinja2 all 2.10-1 [94.6 kB]
Get: 20 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-yaml amd64 3.12-1build2 [115 kB]
Get: 21 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-asn1crypto all 0.24.0-1 [72.7 kB]
Get: 22 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-cffi-backend amd64 1.11.5-1 [63.4 kB]
Get: 23 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-enum34 all 1.1.6-2 [34.8 kB]
Get: 24 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-idna all 2.6-1 [32.4 kB]
Get: 25 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-ipaddress all 1.0.17-1 [18.2 kB]
Get: 26 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-six all 1.11.0-2 [11.3 kB]
Get: 27 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-cryptography amd64 2.1.4-1ubuntu1.1 [220 kB]
Get: 28 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-paramiko all 2.0.0-1ubuntu1 [110 kB]
Get: 29 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-httplib2 all 0.9.2+dfsg-1 [34.6 kB]
Get: 30 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-crypto amd64 2.6.1-8ubuntu2 [244 kB]
Get: 31 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
Get: 32 http://aptmirror.corp.com/ubuntu180401 bionic/main amd64 python-setuptools all 39.0.1-2 [329 kB]
Get: 33 http://aptmirror.corp.com/ubuntu180401 bionic/universe amd64 sshpass amd64 1.06-1 [10.5 kB]
Fetched 33.9 MB in 28s (1,228 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: warning: downgrading libpython3.6:amd64 from 3.6.8-1~18.04.3 to 3.6.5-3
(Reading database ... 254644 files and directories currently installed.)
Preparing to unpack .../00-libpython3.6_3.6.5-3_amd64.deb ...
Unpacking libpython3.6:amd64 (3.6.5-3) over (3.6.8-1~18.04.3) ...
dpkg: warning: downgrading mysql-client-core-5.7 from 5.7.28-0ubuntu0.18.04.4 to 5.7.22-0ubuntu18.04.1
Preparing to unpack .../01-mysql-client-core-5.7_5.7.22-0ubuntu18.04.1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.22-0ubuntu18.04.1) over (5.7.28-0ubuntu0.18.04.4) ...
dpkg: warning: downgrading libmysqlclient20:amd64 from 5.7.28-0ubuntu0.18.04.4 to 5.7.22-0ubuntu18.04.1
Preparing to unpack .../02-libmysqlclient20_5.7.22-0ubuntu18.04.1_amd64.deb ...
Unpacking libmysqlclient20:amd64 (5.7.22-0ubuntu18.04.1) over (5.7.28-0ubuntu0.18.04.4) ...
dpkg: warning: downgrading openssl from 1.1.1-1ubuntu2.1~18.04.5 to 1.1.0g-2ubuntu4
Preparing to unpack .../03-openssl_1.1.0g-2ubuntu4_amd64.deb ...
Unpacking openssl (1.1.0g-2ubuntu4) over (1.1.1-1ubuntu2.1~18.04.5) ...
dpkg: warning: downgrading libio-socket-ssl-perl from 2.060-3~ubuntu18.04.1 to 2.056-1
Preparing to unpack .../04-libio-socket-ssl-perl_2.056-1_all.deb ...
Unpacking libio-socket-ssl-perl (2.056-1) over (2.060-3~ubuntu18.04.1) ...
dpkg: warning: downgrading libnet-ssleay-perl from 1.84-1ubuntu0.2 to 1.84-1build1
Preparing to unpack .../05-libnet-ssleay-perl_1.84-1build1_amd64.deb ...
Unpacking libnet-ssleay-perl (1.84-1build1) over (1.84-1ubuntu0.2) ...
dpkg: warning: downgrading curl from 7.58.0-2ubuntu3.8 to 7.58.0-2ubuntu3.1
Preparing to unpack .../06-curl_7.58.0-2ubuntu3.1_amd64.deb ...
Unpacking curl (7.58.0-2ubuntu3.1) over (7.58.0-2ubuntu3.8) ...
dpkg: warning: downgrading libcurl4:amd64 from 7.58.0-2ubuntu3.8 to 7.58.0-2ubuntu3.1
Preparing to unpack .../07-libcurl4_7.58.0-2ubuntu3.1_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.1) over (7.58.0-2ubuntu3.8) ...
dpkg: warning: downgrading mysql-server-core-5.7 from 5.7.28-0ubuntu0.18.04.4 to 5.7.22-0ubuntu18.04.1
Preparing to unpack .../08-mysql-server-core-5.7_5.7.22-0ubuntu18.04.1_amd64.deb ...
Unpacking mysql-server-core-5.7 (5.7.22-0ubuntu18.04.1) over (5.7.28-0ubuntu0.18.04.4) ...
dpkg: warning: downgrading libruby2.5:amd64 from 2.5.1-1ubuntu1.6 to 2.5.1-1ubuntu1
Preparing to unpack .../09-libruby2.5_2.5.1-1ubuntu1_amd64.deb ...
Unpacking libruby2.5:amd64 (2.5.1-1ubuntu1) over (2.5.1-1ubuntu1.6) ...
dpkg: warning: downgrading python3-cryptography from 2.1.4-1ubuntu1.3 to 2.1.4-1ubuntu1.1
Preparing to unpack .../10-python3-cryptography_2.1.4-1ubuntu1.1_amd64.deb ...
Unpacking python3-cryptography (2.1.4-1ubuntu1.1) over (2.1.4-1ubuntu1.3) ...
dpkg: warning: downgrading python3.6 from 3.6.8-1~18.04.3 to 3.6.5-3
Preparing to unpack .../11-python3.6_3.6.5-3_amd64.deb ...
Unpacking python3.6 (3.6.5-3) over (3.6.8-1~18.04.3) ...
dpkg: warning: downgrading libpython3.6-stdlib:amd64 from 3.6.8-1~18.04.3 to 3.6.5-3
Preparing to unpack .../12-libpython3.6-stdlib_3.6.5-3_amd64.deb ...
Unpacking libpython3.6-stdlib:amd64 (3.6.5-3) over (3.6.8-1~18.04.3) ...
dpkg: warning: downgrading python3.6-minimal from 3.6.8-1~18.04.3 to 3.6.5-3
Preparing to unpack .../13-python3.6-minimal_3.6.5-3_amd64.deb ...
Unpacking python3.6-minimal (3.6.5-3) over (3.6.8-1~18.04.3) ...
dpkg: warning: downgrading libpython3.6-minimal:amd64 from 3.6.8-1~18.04.3 to 3.6.5-3
Preparing to unpack .../14-libpython3.6-minimal_3.6.5-3_amd64.deb ...
Unpacking libpython3.6-minimal:amd64 (3.6.5-3) over (3.6.8-1~18.04.3) ...
dpkg: warning: downgrading libssl1.1:amd64 from 1.1.1-1ubuntu2.1~18.04.5 to 1.1.0g-2ubuntu4
Preparing to unpack .../15-libssl1.1_1.1.0g-2ubuntu4_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.0g-2ubuntu4) over (1.1.1-1ubuntu2.1~18.04.5) ...
Selecting previously unselected package python-markupsafe.
Preparing to unpack .../16-python-markupsafe_1.0-1build1_amd64.deb ...
Unpacking python-markupsafe (1.0-1build1) ...
Selecting previously unselected package python-jinja2.
Preparing to unpack .../17-python-jinja2_2.10-1_all.deb ...
Unpacking python-jinja2 (2.10-1) ...
Selecting previously unselected package python-yaml.
Preparing to unpack .../18-python-yaml_3.12-1build2_amd64.deb ...
Unpacking python-yaml (3.12-1build2) ...
Selecting previously unselected package python-asn1crypto.
Preparing to unpack .../19-python-asn1crypto_0.24.0-1_all.deb ...
Unpacking python-asn1crypto (0.24.0-1) ...
Selecting previously unselected package python-cffi-backend.
Preparing to unpack .../20-python-cffi-backend_1.11.5-1_amd64.deb ...
Unpacking python-cffi-backend (1.11.5-1) ...
Selecting previously unselected package python-enum34.
Preparing to unpack .../21-python-enum34_1.1.6-2_all.deb ...
Unpacking python-enum34 (1.1.6-2) ...
Selecting previously unselected package python-idna.
Preparing to unpack .../22-python-idna_2.6-1_all.deb ...
Unpacking python-idna (2.6-1) ...
Selecting previously unselected package python-ipaddress.
Preparing to unpack .../23-python-ipaddress_1.0.17-1_all.deb ...
Unpacking python-ipaddress (1.0.17-1) ...
Selecting previously unselected package python-six.
Preparing to unpack .../24-python-six_1.11.0-2_all.deb ...
Unpacking python-six (1.11.0-2) ...
Selecting previously unselected package python-cryptography.
Preparing to unpack .../25-python-cryptography_2.1.4-1ubuntu1.1_amd64.deb ...
Unpacking python-cryptography (2.1.4-1ubuntu1.1) ...
Selecting previously unselected package python-paramiko.
Preparing to unpack .../26-python-paramiko_2.0.0-1ubuntu1_all.deb ...
Unpacking python-paramiko (2.0.0-1ubuntu1) ...
Selecting previously unselected package python-httplib2.
Preparing to unpack .../27-python-httplib2_0.9.2+dfsg-1_all.deb ...
Unpacking python-httplib2 (0.9.2+dfsg-1) ...
Selecting previously unselected package python-crypto.
Preparing to unpack .../28-python-crypto_2.6.1-8ubuntu2_amd64.deb ...
Unpacking python-crypto (2.6.1-8ubuntu2) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../29-python-pkg-resources_39.0.1-2_all.deb ...
Unpacking python-pkg-resources (39.0.1-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../30-python-setuptools_39.0.1-2_all.deb ...
Unpacking python-setuptools (39.0.1-2) ...
Selecting previously unselected package sshpass.
Preparing to unpack .../31-sshpass_1.06-1_amd64.deb ...
Unpacking sshpass (1.06-1) ...
Selecting previously unselected package ansible.
Preparing to unpack .../32-ansible_2.9.2-1ppa~bionic_all.deb ...
Unpacking ansible (2.9.2-1ppa~bionic) ...
Setting up python-idna (2.6-1) ...
Setting up python-yaml (3.12-1build2) ...
Setting up python-asn1crypto (0.24.0-1) ...
Setting up python-crypto (2.6.1-8ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Setting up mysql-server-core-5.7 (5.7.22-0ubuntu18.04.1) ...
Setting up python-pkg-resources (39.0.1-2) ...
Setting up python-markupsafe (1.0-1build1) ...
Setting up python-httplib2 (0.9.2+dfsg-1) ...
Setting up python-cffi-backend (1.11.5-1) ...
Setting up python-six (1.11.0-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up sshpass (1.06-1) ...
Setting up libssl1.1:amd64 (1.1.0g-2ubuntu4) ...
Setting up python-enum34 (1.1.6-2) ...
Setting up openssl (1.1.0g-2ubuntu4) ...
Installing new version of config file /etc/ssl/openssl.cnf ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libmysqlclient20:amd64 (5.7.22-0ubuntu18.04.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Setting up mysql-client-core-5.7 (5.7.22-0ubuntu18.04.1) ...
Setting up python-ipaddress (1.0.17-1) ...
Setting up python3-cryptography (2.1.4-1ubuntu1.1) ...
Setting up python-setuptools (39.0.1-2) ...
Setting up libruby2.5:amd64 (2.5.1-1ubuntu1) ...
Setting up python-jinja2 (2.10-1) ...
Setting up libnet-ssleay-perl (1.84-1build1) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3.1) ...
Setting up libio-socket-ssl-perl (2.056-1) ...
Setting up libpython3.6-minimal:amd64 (3.6.5-3) ...
Setting up python-cryptography (2.1.4-1ubuntu1.1) ...
Setting up libpython3.6-stdlib:amd64 (3.6.5-3) ...
Setting up curl (7.58.0-2ubuntu3.1) ...
Setting up python3.6-minimal (3.6.5-3) ...
Setting up python-paramiko (2.0.0-1ubuntu1) ...
Setting up ansible (2.9.2-1ppa~bionic) ...
Setting up libpython3.6:amd64 (3.6.5-3) ...
Setting up python3.6 (3.6.5-3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...





Let's confirm if Ansible is installed


$ apt-cache show ansible
Package: ansible
Priority: optional
Section: admin
Installed-Size: 56579
Maintainer: Ansible, Inc. <info@ansible.com>
Architecture: all
Version: 2.9.2-1ppa~bionic
Depends: python-jinja2, python-yaml, python-paramiko, python-httplib2, python-six, python-crypto (>= 2.6), python-setuptools, sshpass, python-cryptography, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/main/a/ansible/ansible_2.9.2-1ppa~bionic_all.deb
Size: 5777612
MD5sum: 3468ec2ff9e22ac430ee0ccd71e007c2
SHA1: 81780a7413cdc338c4f4fb874bffe9486d788d91
SHA256: 4c4db7e2a32bdafec7f0907fc979a5a0c6589b5ec69ac4396d7eab6e74d1bcc4
Description-en: Ansible IT Automation
 Ansible is a radically simple model-driven configuration management,
 multi-node deployment, and remote task execution system. Ansible works
 over SSH and does not require any software or daemons to be installed
 on remote nodes. Extension modules can be written in any language and
 are transferred to managed machines automatically.
Description-md5: 0e3133c71d7d51c7e54c60ee8b4f0be0

Package: ansible
Architecture: all
Version: 2.5.1+dfsg-1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Harlan Lieberman-Berg <hlieberman@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 26263
Depends: python-cryptography, python-jinja2, python-paramiko, python-pkg-resources, python-yaml, python:any (<< 2.8), python:any (>= 2.7.5-5~), python-crypto, python-httplib2, python-netaddr
Recommends: python-jmespath, python-kerberos, python-libcloud, python-selinux, python-winrm (>= 0.1.1), python-xmltodict
Suggests: cowsay, sshpass
Filename: pool/universe/a/ansible/ansible_2.5.1+dfsg-1_all.deb
Size: 3196684
MD5sum: 2ff0d45d0a8d10a4c4b2f86ca98011dd
SHA1: eb4728c657bebdaa03aa5de5add330b7b6b12bd6
SHA256: 3d1a3b7ad8ca018a0212c92e2034222bae1e2968028828eaace64d6acd30fd96
Homepage: https://www.ansible.com
Description-en: Configuration management, deployment, and task execution system
 Ansible is a radically simple model-driven configuration management,
 multi-node deployment, and remote task execution system. Ansible works
 over SSH and does not require any software or daemons to be installed
 on remote nodes. Extension modules can be written in any language and
 are transferred to managed machines automatically.
Description-md5: db2b21b0d2286fccc4401d5982361488








No comments:

Post a Comment