Bug#518939: apt: fails to resolve dependency on provided package
Package: apt
Version: 0.7.21~exp2
Severity: important
Hi,
when trying to install libboost1.37-dev-armel-cross from the emdebian cross
repository, apt fails to resolve the *-armel-dcv1 dependencies from various
packages:
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
libboost-math1.37.0-armel-cross: Depends: libc6-armel-dcv1
libboost-serialization1.37.0-armel-cross: Depends: libc6-armel-dcv1
libboost1.37-dev-armel-cross: Depends: libc6-armel-dcv1
libicu38-armel-cross: Depends: libc6-armel-dcv1
E: Unmet dependencies. Try using -f.
This virtual package is provided both by the installed version of
libc6-armel-cross and the one provided in the cross repo:
Package: libc6-armel-cross
Status: install ok installed
Priority: extra
Section: devel
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: all
Source: libc6
Version: 2.9-4
Provides: libc6-armel-dcv1, glibc-2.9-1-armel-cross
Depends: libgcc1-armel-cross
Conflicts: libterm-readline-gnu-perl-armel-cross (<< 1.15-2), tzdata-etch-armel-cross, nscd-armel-cross (<< 2.9)
Description: GNU C Library: Shared libraries (for cross-compiling)
This package was generated by dpkg-cross for cross compiling.
.
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
Manually removing the dependency from the Packages file makes the error go
away and the package install successfully (i.e. dpkg can resolve the
dependency, hence the heightened priority).
Reproducing is only possible with APT from experimental, as the cross repo
contains a lot of new packages, which pushes "regular" apt above the
package name limit.
Simon
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Acquire::Max-Default-Age "";
APT::Acquire::Max-Default-Age::Debian-Security "7";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Cache-Limit "125000000";
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::sourceparts "sources.list.d";
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";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb http://ftp2.de.debian.org/debian/ unstable main
deb http://www.debian-multimedia.org unstable main
deb http://sourcedeps.debian.net/ sid main
deb http://ftp.debian.org/debian experimental main
deb http://www.emdebian.org/debian sid main
deb-src http://www.emdebian.org/debian sid main
deb http://uclibc.debian.net/debian sid main
deb-src http://uclibc.debian.net/debian sid main
deb http://www.emdebian.org/cross-repo sid main
deb http://rasentrimmer.org/debian unstable main
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libgcc1 1:4.3.3-3 GCC support library
ii libstdc++6 4.3.3-3 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
pn aptitude | synaptic | gnome-a <none> (no description available)
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii dpkg-dev 1.14.25 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
pn python-apt <none> (no description available)
-- no debconf information
Reply to: