Bug#438999: apt-get source does not respect APT::Default-Release if the source package doesn't have a binary package of the same name
Package: apt-utils
Version: 0.9.7.9
Followup-For: Bug #438999
Similar strange behaviour with "linux" package, on a stable distribution with
unstable pinned to -10.
apt-get source linux --> gets linux-3.9 from unstable (understandable, although
doesn’t honor pinning)
apt-get source linux/wheezy --> gets linux-3.9 from unstable (not what a user
would expect)
apt-get source linux-image-3.2.0-4-amd64 --> gets linux-3.9 from unstable (also
not what a user would expect)
apt-get source linux-image-3.2.0-4-amd64/wheezy --> gets linux-3.2 from wheezy
(expected)
My /etc/apt/preferences :
Package: *
Pin: release a=unstable
Pin-Priority: -10
my /etc/apt/sources.list
deb http://ftp.fr.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ wheezy main non-free contrib
deb http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ unstable main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-utils depends on:
ii libapt-inst1.5 0.9.7.9
ii libapt-pkg4.12 0.9.7.9
ii libc6 2.13-38
ii libdb5.1 5.1.29-5
ii libgcc1 1:4.7.2-5
ii libstdc++6 4.7.2-5
apt-utils recommends no packages.
Versions of packages apt-utils suggests:
ii xz-utils 5.1.1alpha+20120614-2
-- no debconf information
Reply to: