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

Brian Murray brian at ubuntu.com
Mon Sep 26 16:33:05 UTC 2011


This ended up working for me with the following:

(oneiric-amd64)root at flash:~# apt-get source xmlsec1=1.2.14-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 1659 kB of source archives.
0% [Working]Failed to create client object: Daemon not running
Failed to create client object: Daemon not running
Get:1 http://archive.ubuntu.com/ubuntu/ maverick/universe xmlsec1 1.2.14-1 (dsc) [1235 B]
Get:2 http://archive.ubuntu.com/ubuntu/ maverick/universe xmlsec1 1.2.14-1 (tar) [1653 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ maverick/universe xmlsec1 1.2.14-1 (diff) [5189 B]
Fetched 1659 kB in 1s (1003 kB/s)
gpgv: Signature made Tue Jun 22 14:38:25 2010 PDT using DSA key ID BBEB81BA
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./xmlsec1_1.2.14-1.dsc
dpkg-source: info: extracting xmlsec1 in xmlsec1-1.2.14
dpkg-source: info: unpacking xmlsec1_1.2.14.orig.tar.gz
dpkg-source: info: applying xmlsec1_1.2.14-1.diff.gz
(oneiric-amd64)root at flash:~# cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu oneiric main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu oneiric main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu maverick main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu maverick main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu oneiric-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu oneiric-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted universe multiverse

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