[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#518939: marked as done (apt: fails to resolve dependency on provided package)



Your message dated Wed, 12 Aug 2015 14:47:49 +0200
with message-id <20150812124749.GA1557@crossbow>
and subject line Re: apt: fails to resolve dependency on provided package
has caused the Debian Bug report #518939,
regarding apt: fails to resolve dependency on provided package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
518939: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518939
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Hi,

On Mon, Mar 09, 2009 at 12:07:40PM +0100, Simon Richter wrote:
> 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.

The output suggests that the /current/ system was in a broken state
already, not the 'future' system apt calculated for after the upgrade.

APT hates broken system states and before functioning correctly it will
usually ask you to run --fix-broken (which is what -f stands for).

My guess is that a dependency of libc6-armel-cross (which provided
libc6-armel-dcv1) wasn't installed. The output of apt-get can be
relatively confusing in this regard as it doesn't show the broken
leaves, but usually packages very close to the top.


> 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).

Note that dpkg isn't too deeply concerned with the overall system state
– it will quite happily ignore broken system states as long as it isn't
working in this specific corner.


> 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.

By now emdebian ceased to be updated, but I remember installing armel
crosscompilers from there a few years ago and that worked flawlessly.
I also can't reproduce a problem with dependencies on provided packages of
hand, so I am gonna close this bugreport as I assume it is fixed by now.
Of course, if this is still reproducible please reopen!


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: