Ubuntu Docker images include packages deleted from trusty-updates
Bug #1505164 reported by
Mark Henwood
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Ubuntu) |
Fix Released
|
High
|
Dan Watkins | ||
mod-wsgi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
python3.4 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce (using a docker container):
$ docker pull ubuntu:trusty
$ docker run --rm -it ubuntu:trusty /bin/bash
# lsb_release -rd
Description: Ubuntu 14.04.3 LTS
Release: 14.04
# apt-get update
# apt-get install python3.4
python3.4 is already the newest version.
# python3 --version
Python 3.4.3
# dpkg -l python3.4
ii python3.4 3.4.3-1ubuntu1~14.0
# apt-get install apache2
...
# apt-get install libapache2-
The following packages have unmet dependencies:
libapache2-
E: Unable to correct problems, you have held broken packages.
description: | updated |
summary: |
- 3.4.3 prevents installation of libapache2-mod-wsgi-py3 + python3.4 3.4.3 prevents installation of libapache2-mod-wsgi-py3 |
Changed in docker.io (Ubuntu): | |
assignee: | nobody → Dan Watkins (daniel-thewatkins) |
status: | Triaged → In Progress |
summary: |
- Ubuntu Docker images incorrectly include packages from trusty-proposed + Ubuntu Docker images include packages deleted from trusty-updates |
Changed in docker.io (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Confirmed - I have followed your reproduction steps and hit the same issue.
The underlying reason however is not in the python3.4 nor mod-wsgi packages. The issue is that the Docker "ubuntu:trusty" image seems to include python3.4 version 3.4.3-1ubuntu1~ 14.04.1 from trusty-proposed but does not (and should not) have trusty-proposed enabled in sources.list. When apt later wants to install a matching libpython3.4, it cannot find it.
So this is a bug in the Docker image, which incorrectly includes packages from Ubuntu from trusty-proposed. I'll mark this Invalid against the mod-wsgi and apache2 packages in Ubuntu as there is no fix to be made in those packages. I'll add a generic Ubuntu task so we don't forget this issue until I can track down who needs to be fixing the Docker image.