python-requests doesn't specify Multi-Arch in debian/control

Bug #1737973 reported by Cris Dywan
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-requests (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The package python-requests doesn't declare multi-arch correctly. According to the spec [1], because it's "Architecture: all", I believe "Multi-Arch: foreign" should be specified so that the native package can be installed.

As an example of where this currently fails:

$ sudo apt-get install ceph-common:armhf
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:
 ceph-common:armhf : Depends: librbd1:armhf (= 10.2.9-0ubuntu0.16.04.1) but it is not going to be installed
                     Depends: python-cephfs:armhf (= 10.2.9-0ubuntu0.16.04.1) but it is not going to be installed
                     Depends: python-rados:armhf (= 10.2.9-0ubuntu0.16.04.1) but it is not going to be installed
                     Depends: python-rbd:armhf (= 10.2.9-0ubuntu0.16.04.1) but it is not going to be installed
                     Depends: python-requests:armhf but it is not installable
                     Depends: librados2:armhf (>= 0.87) but it is not going to be installed
                     Depends: libradosstriper1:armhf (>= 0.93) but it is not going to be installed
                     Depends: librgw2:armhf (>= 10.2.9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ lsb_release -rd
Description: Ubuntu 16.04.3 LTS
Release: 16.04
$ apt-cache policy python-requests
python-requests:
  Installed: 2.9.1-3
  Candidate: 2.9.1-3
  Version table:
 *** 2.9.1-3 500
        500 http://de.archive.ubuntu.com/ubuntu xenial/main i386 Packages
        500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf Packages
        100 /var/lib/dpkg/status

https://wiki.ubuntu.com/MultiarchSpec#Dependencies_involving_Architecture:_all_packages

tags: added: packaging xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-requests (Ubuntu):
status: New → Confirmed
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.