--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt-get build-dep does not honour pinning
- From: Gabor Gombas <gombasg@sztaki.hu>
- Date: Tue, 04 Oct 2005 15:27:08 +0200
- Message-id: <20051004132708.313E796A9@boogie.lpds.sztaki.hu>
Package: apt
Version: 0.6.41
Severity: normal
Hi,
It seems that "apt-get build-dep" does not honour pinning. Example:
# apt-cache policy evolution
evolution:
Installed: 2.2.3-4
Candidate: 2.2.3-4
Version table:
2.4.0-2 0
101 http://ftp.fi.debian.org ../project/experimental/main Packages
*** 2.2.3-4 0
500 http://ftp.hu.debian.org testing/main Packages
990 http://ftp.hu.debian.org unstable/main Packages
990 http://ftp.fi.debian.org unstable/main Packages
100 /var/lib/dpkg/status
# apt-get build-dep evolution
Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for evolution cannot be satisfied because no available versions of package libgal2.4-dev can satisfy version requirements
# apt-get build-dep evolution=2.2.3-4
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
So apt-get tries to download the build dependencies of evolution from
experimental even though the version from unstable is listed as
preferred.
Gabor
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Get "";
APT::Get::Show-Upgraded "yes";
APT::Default-Release "unstable";
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/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
Acquire "";
Acquire::http "";
Acquire::http::Proxy "http://localhost:3128";
Acquire::ftp "";
Acquire::ftp::Passive "true";
-- /etc/apt/preferences --
Explanation: Make packages installed from experimental upgradeable but do not try to
Explanation: upgrade packages from unstable to experimental
Package: *
Pin: release a=experimental
Pin-Priority: 101
-- /etc/apt/sources.list --
# See sources.list(5) for more information, especialy
deb http://ftp.hu.debian.org/debian testing main non-free contrib
deb http://ftp.hu.debian.org/debian unstable main non-free contrib
deb http://ftp.fi.debian.org/debian unstable main non-free contrib
#deb http://ftp.hu.debian.org/debian-non-US unstable/non-US main contrib non-free
#deb http://ftp.fi.debian.org/debian-non-US unstable/non-US main contrib non-free
deb http://ftp.fi.debian.org/debian/ ../project/experimental main contrib non-free
deb-src http://ftp.hu.debian.org/debian unstable main non-free contrib
deb-src http://ftp.fi.debian.org/debian unstable main non-free contrib
#deb-src http://ftp.fi.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://ftp.fi.debian.org/debian/ ../project/experimental main contrib non-free
deb http://ftp.nerim.net/debian-marillat/ sid main
deb-src http://ftp.nerim.net/debian-marillat/ sid main
# Experimental GNOME packages
#deb http://pkg-gnome.alioth.debian.org/debian experimental main
deb http://cvs.lpds.sztaki.hu/~gombasg/debian sarge main
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages apt depends on:
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-2 GCC support library
ii libstdc++6 4.0.2-2 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
--- End Message ---