apt-get install foo/trusty selects version from trusty-updates

Bug #1314502 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Triaged
Low
Unassigned

Bug Description

When using the release modfiers on the apt commandline specifying the release does not always work, e.g.:
"""
$ apt-get install --reinstall webapp-container/trusty -s)
...
Selected version '0.23+14.04.20140416-0ubuntu1' (Ubuntu:14.04/trusty-updates [amd64]) for 'webapp-container'
"""

The reason is that apt-get foo/release matches for both "Suite" and "Codename" in the Release file. The trusty-updates
Release file looks like this:
"""
 Suite: trusty-updates
 Codename: trusty
"""
So apt matches the suite first, then the codename and takes the match.

Previously it would only match on "Suite", but commit efc487fb changed this behavior (some time ago). Attached is a testcase to illustrate the issue.

Revision history for this message
Michael Vogt (mvo) wrote :
Changed in apt (Ubuntu):
status: New → Triaged
importance: Undecided → Low
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.