[Bug 918213] Re: apt-get source picks Ubuntu version instead of Debian when requesting Debian version and there is only "deb-src", but not "deb"
Daniel Hartwig
mandyke at gmail.com
Thu Jan 31 07:46:11 UTC 2013
*** This bug is a duplicate of bug 859665 ***
https://bugs.launchpad.net/bugs/859665
Disassociating Debian report; this issue is related to the fuzzy version
matching.
** Changed in: apt (Debian)
Importance: Unknown => Undecided
** Changed in: apt (Debian)
Status: Confirmed => New
** Changed in: apt (Debian)
Remote watch: Debian Bug tracker #441178 => None
** Bug watch removed: Debian Bug tracker #441178
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441178
** This bug has been marked a duplicate of bug 859665
apt-get source does not download the correct version
--
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/918213
Title:
apt-get source picks Ubuntu version instead of Debian when requesting
Debian version and there is only "deb-src", but not "deb"
Status in “apt” package in Ubuntu:
Incomplete
Status in “apt” package in Debian:
New
Bug description:
When requesting the version from Debian (3.2.1-2), the Ubuntu version
gets downloaded instead (3.2.1-2ubuntu1).
% apt-cache madison backuppc | grep Source
backuppc | 3.2.1-2ubuntu1 | http://archive.ubuntu.com/ubuntu/ precise/main Sources
backuppc | 3.2.1-2ubuntu1 | http://archive.ubuntu.com/ubuntu/ precise/main Sources
backuppc | 3.2.1-2ubuntu1 | http://archive.ubuntu.com/ubuntu/ precise/main Sources
backuppc | 3.1.0-9 | http://ftp.de.debian.org/debian/ stable/main Sources
backuppc | 3.2.1-2 | http://ftp.de.debian.org/debian/ unstable/main Sources
backuppc | 3.2.1-2 | http://ftp.de.debian.org/debian/ testing/main Sources
% apt-get source backuppc=3.2.1-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 543 kB of source archives.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main backuppc 3.2.1-2ubuntu1 (dsc) [1,147 B]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main backuppc 3.2.1-2ubuntu1 (tar) [512 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main backuppc 3.2.1-2ubuntu1 (diff) [30.1 kB]
Fetched 543 kB in 1s (281 kB/s)
[...]
I have then tried to use the release name instead, but it fails with
both "/unstable" and "-t unstable" notation:
% apt-get source backuppc/unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Ignore unavailable target release 'unstable' of package 'backuppc'
E: Unable to find a source package for
% apt-get source -t testing backuppc
Reading package lists... Done
E: The value 'testing' is invalid for APT::Default-Release as such a release is not available in the sources
The issue appears to be that you do not need also "deb" lines in your
apt sources.list, not just "deb-src".
It works now with the "deb" line for unstable being added.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp5ubuntu14.2
ProcVersionSignature: Ubuntu 3.2.0-9.16-generic-pae 3.2.1
Uname: Linux 3.2.0-9-generic-pae i686
ApportVersion: 1.90-0ubuntu2
Architecture: i386
Date: Wed Jan 18 14:59:14 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: apt
UpgradeStatus: Upgraded to precise on 2011-12-16 (33 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/918213/+subscriptions
More information about the foundations-bugs
mailing list