python-boto: libssl1.1 dependency problems

Bug #1808773 reported by tomtom
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-boto (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Latest python-boto package for Ubuntu Bionic (18.04) seems to have a dependency problem because of libssl1.1

$ sudo dpkg -i python-boto_2.44.0-1ubuntu2_all.deb
(Reading database ... 191574 files and directories currently installed.)
Preparing to unpack python-boto_2.44.0-1ubuntu2_all.deb ...
Unpacking python-boto (2.44.0-1ubuntu2) over (2.44.0-1ubuntu2) ...
dpkg: dependency problems prevent configuration of python-boto:
 libssl1.1:amd64 (1.1.1-3+ubuntu18.04.1+deb.sury.org+3) breaks python-boto (<< 2.44.0-1.1) and is installed.
  Version of python-boto to be configured is 2.44.0-1ubuntu2.

dpkg: error processing package python-boto (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-boto

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hi tomtom,

Thanks for reporting this and making Ubuntu better. I was able to install python-boto 2.44.0-1ubuntu2 successfully with apt. Is this still a problem if you use apt to install from the bionic archive?

Thanks,
Corey

Changed in python-boto (Ubuntu):
status: New → Incomplete
Revision history for this message
tomtom (tbjornli) wrote :

Yes, unfortunately it is still a problem.
There was an update to libssl available today (libssl1.1:amd64) but also after this upgrade I get the same error:

Installing from repository:
$ sudo apt install python-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:
 python-boto : Depends: python-requests but it is not going to be installed
               Depends: python:any (< 2.8)
               Depends: python:any (>= 2.7.5-5~)
               Depends: python-six but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Installing with deb-package:
$ sudo dpkg -i python-boto_2.44.0-1ubuntu2_all.deb
Selecting previously unselected package python-boto.
(Reading database ... 190250 files and directories currently installed.)
Preparing to unpack python-boto_2.44.0-1ubuntu2_all.deb ...
Unpacking python-boto (2.44.0-1ubuntu2) ...
dpkg: dependency problems prevent configuration of python-boto:
 libssl1.1:amd64 (1.1.1a-2+ubuntu18.04.1+deb.sury.org+1) breaks python-boto (<< 2.44.0-1.1) and is installed.
  Version of python-boto to be configured is 2.44.0-1ubuntu2.

dpkg: error processing package python-boto (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-boto

Revision history for this message
red shaphiro (redshaphiro) wrote :

Same problem for me in all my debian 9.6 servers.

Revision history for this message
red shaphiro (redshaphiro) wrote :

Solved with:

sudo dpkg -i python-boto_2.44.0-1.1_all.deb
sudo dpkg -i python-boto3_2.44.0-1.1_all.deb

apt-get update
apt-get upgrade

But is it a safe solution?

Revision history for this message
Corey Bryant (corey.bryant) wrote :

I'm not sure where libssl1.1 version 1.1.1a-2+ubuntu18.04.1+deb.sury.org+1 is coming from.

Where are you getting libssl1.1 from? What does 'apt policy libssl1.1' show?

Here are the current versios in bionic+ Ubuntu archives:

$ rmadison libssl1.1
 libssl1.1 | 1.1.0g-2ubuntu4 | bionic | amd64, arm64, armhf, i386, ppc64el, s390x
 libssl1.1 | 1.1.0g-2ubuntu4.3 | bionic-security | amd64, arm64, armhf, i386, ppc64el, s390x
 libssl1.1 | 1.1.0g-2ubuntu4.3 | bionic-updates | amd64, arm64, armhf, i386, ppc64el, s390x
 libssl1.1 | 1.1.1-1ubuntu2 | cosmic | amd64, arm64, armhf, i386, ppc64el, s390x
 libssl1.1 | 1.1.1-1ubuntu2.1 | cosmic-security | amd64, arm64, armhf, i386, ppc64el, s390x
 libssl1.1 | 1.1.1-1ubuntu2.1 | cosmic-updates | amd64, arm64, armhf, i386, ppc64el, s390x
 libssl1.1 | 1.1.1a-1ubuntu2 | disco | amd64, arm64, armhf, i386, ppc64el, s390x

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Architectures trimmed for formatting:

$ rmadison libssl1.1
 libssl1.1 | 1.1.0g-2ubuntu4 | bionic
 libssl1.1 | 1.1.0g-2ubuntu4.3 | bionic-security
 libssl1.1 | 1.1.0g-2ubuntu4.3 | bionic-updates
 libssl1.1 | 1.1.1-1ubuntu2 | cosmic
 libssl1.1 | 1.1.1-1ubuntu2.1 | cosmic-security
 libssl1.1 | 1.1.1-1ubuntu2.1 | cosmic-updates
 libssl1.1 | 1.1.1a-1ubuntu2 | disco

Revision history for this message
tomtom (tbjornli) wrote :

My bad, it was installed via the ondrej ppa. I should have noticed that the current versions of libssl is 1.1.0g and not 1.1.1a. I'm sorry for that.

$ apt policy libssl1.1
libssl1.1:
  Installed: 1.1.1a-2+ubuntu18.04.1+deb.sury.org+1
  Candidate: 1.1.1a-2+ubuntu18.04.1+deb.sury.org+1
  Version table:
 *** 1.1.1a-2+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
     1.1.0g-2ubuntu4.3 500
        500 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
     1.1.0g-2ubuntu4 500
        500 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Revision history for this message
tomtom (tbjornli) wrote :

After downgrading all the packages installed via the ondrej/php installing python-boto was installed successfully.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Ok no problem, and thank you for responding back with details.

Changed in python-boto (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.