[Bug 859665] [NEW] apt-get source does not download the correct version

Jamie Strandboge jamie at ubuntu.com
Mon Sep 26 13:56:25 UTC 2011


Public bug reported:

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.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/859665

Title:
  apt-get source does not download the correct version

Status in “apt” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/859665/+subscriptions




More information about the foundations-bugs mailing list