** Changed in: apt (Ubuntu) Status: New => Confirmed ** Changed in: apt (Ubuntu) Importance: Undecided => Medium
** Description changed: When downloading source packages by source package name, apt-get ignores the default (or specified) release. This does not happen when downloading source packages by binary package name. I noticed this bug on our build server, which runs Ubuntu 12.04 but has sources for both precise and raring. Steps to Reproduce: 1. Add an extra release to sources (i.e. add raring sources to precise) 2. Attempt to download source package by source name: - apt-get source -t precise twisted - or: apt-get source -o APT::Default-Release=precise twisted - or: apt-get source twisted/precise - 3. Source for twisted from raring is downloaded. + apt-get source -t precise twisted + or: apt-get source -o APT::Default-Release=precise twisted + or: apt-get source twisted/precise + 3. Source for twisted from raring is downloaded. (This is the bad behavior.) 4. Attempt to download source package by binary name: - apt-get source -t precise python-twisted - or: apt-get source -o APT::Default-Release=precise python-twisted - or: apt-get source python-twisted/precise + apt-get source -t precise python-twisted + or: apt-get source -o APT::Default-Release=precise python-twisted + or: apt-get source python-twisted/precise 5. Apt will automatically select the source package from the binary name. 6. Source for twisted from precise is downloaded. - ProblemType: Bug - DistroRelease: Ubuntu 12.04 + ProblemType: BugDistroRelease: Ubuntu 12.04 Package: apt 0.8.16~exp12ubuntu10.5 ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30 Uname: Linux 3.2.0-32-generic x86_64 ApportVersion: 2.0.1-0ubuntu14 Architecture: amd64 Date: Tue May 14 10:42:57 2013 InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1) ProcEnviron: - TERM=screen - PATH=(custom, user) - LANG=en_US.UTF-8 - SHELL=/bin/bash - SourcePackage: apt + TERM=screen + PATH=(custom, user) + LANG=en_US.UTF-8 + SHELL=/bin/bashSourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1179999 Title: apt-get source ignores default release when source package selected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1179999/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs