apt-get source does not download the correct version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
On an up to date Oneiric, if I have deb-src lines for all the stable releases, Debian and Oneiric, and I do:
$ apt-get source xmlsec1=1.2.14-1
Then 1.2.14-1.2 is downloaded from Oneiric. If I remove the Oneiric entry and try again, 1.2.14-1.2 is downloaded from Debian. If I remove the Debian entries, then I get:
$ sudo apt-get update # this returns no errors
$ apt-get source xmlsec1=1.2.14-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Ignore unavailable version '1.2.14-1.2' of package 'xmlsec1'
E: Unable to find a source package for xmlsec1
I checked in a maverick VM, and it all works fine. 'apt-get check' works fine. This functionality is important to the workflow of the security team. I'll attach a sources.list shortly.
tags: | added: testcase |
Changed in apt (Ubuntu): | |
importance: | Undecided → Medium |
Changed in apt (Ubuntu): | |
status: | New → Confirmed |
Sources.list generated via: list.d/ *list|cut -f2- -d ':' > /tmp/sources.list
$ grep '^deb' ./sources.list ./sources.
This was tested on my regular machine as well as a clean VM-- same problem.