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

Brian Murray brian at ubuntu.com
Tue May 28 21:16:57 UTC 2013


I was trying something similar today "apt-get source -t quantal openvpn"
and received the following error message:

 $ apt-get source -t quantal openvpn
Reading package lists... Done
E: The value 'quantal' is invalid for APT::Default-Release as such a release is not available in the sources

only after adding deb lines from quantal (I'd previously only had deb-
src lines) was I able to get the source of openvpn for quantal.

-- 
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:
  Confirmed

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