Package: apt Version: 0.5.28.6 Severity: minor My apt.conf (included according to reportbug) specifies APT::Default-Release "stable". I have stable and unstable sources in my sources.list (also included), with the stable entries listed first.
apt-get install foo will choose a stable package as per design However, build-dep and source ignore this setting and go for the unstable package. I have to specify foo=version to guarantee the one I want. Ideally, build-dep and source would honour the APT::Default-Release setting. -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Default-Release "stable"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; Acquire ""; Acquire::http ""; Acquire::http::Proxy "http://wwwcache.ncl.ac.uk:8080"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- deb file:/var/cache/apt-build/repository apt-build main deb http://security.debian.org/ stable/updates main contrib non-free deb ftp://mirror.ox.ac.uk/debian stable main contrib non-free deb-src ftp://mirror.ox.ac.uk/debian stable main contrib non-free deb ftp://mirror.ox.ac.uk/debian unstable main contrib non-free deb-src ftp://mirror.ox.ac.uk/debian unstable main contrib non-free # was mirror.ox.ac.uk -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.11-jmtd Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Versions of packages apt depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libgcc1 1:3.4.3-13 GCC support library ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3 -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

