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

Bug#323558: build-dep shows a real package as virtual with two identical canidates



Package: apt
Version: 0.6.40.1
Severity: normal

Hello, in the log below you see that "apt-get install" chooses exactly one
package because only one candidate exists. However, build-dep erraneosly shows
the same package twice as candidate.

> root < @debian:/tmp$ apt-get install libslang1-utf8-dev
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libslang1-utf8
The following packages will be REMOVED:
  cfdisk-utf8 libslang2-dev slang1a-utf8
The following NEW packages will be installed:
  libslang1-utf8 libslang1-utf8-dev
0 upgraded, 2 newly installed, 3 to remove and 10 not upgraded.
Need to get 636kB of archives.
After unpacking 410kB disk space will be freed.
Do you want to continue [Y/n]? 
> root < @debian:/tmp$ apt-get build-dep cfdisk-utf8
Reading package lists... Done
Building dependency tree... Done
Package slang1-utf8-dev is a virtual package provided by:
  libslang1-utf8-dev 1.4.9dbs-10
  libslang1-utf8-dev 1.4.9dbs-10
You should explicitly select one to install.
E: Package slang1-utf8-dev has no installation candidate
E: Failed to satisfy Build-Depends dependency for cfdisk-utf8: slang1-utf8-dev
> root < @debian:/tmp$ apt-get build-dep cfdisk-utf8
Reading package lists... Done
Building dependency tree... Done
Package slang1-utf8-dev is a virtual package provided by:
  libslang1-utf8-dev 1.4.9dbs-10
  libslang1-utf8-dev 1.4.9dbs-10
You should explicitly select one to install.
E: Package slang1-utf8-dev has no installation candidate
E: Failed to satisfy Build-Depends dependency for cfdisk-utf8: slang1-utf8-dev
> root < @debian:/tmp$ apt-cache policy libslang1-utf8-dev
libslang1-utf8-dev:
  Installed: (none)
  Candidate: 1.4.9dbs-10
  Version table:
     1.4.9dbs-10 0
        990 http://mirror unstable/main Packages
> root < @debian:/tmp$ apt-cache show libslang1-utf8-dev
Package: libslang1-utf8-dev
Priority: extra
Section: devel
Installed-Size: 816
Maintainer: Jim Mintha <jmintha@debian.org>
Architecture: i386
Source: slang
Version: 1.4.9dbs-10
Provides: slang-dev6, slang1-utf8-dev, slang1-utf8-dev
Depends: libslang1-utf8 (= 1.4.9dbs-10), libc6-dev | libc-dev
Conflicts: slang1-utf8-dev, slang1-dev, slang-dev6, slang0.99.34-dev (<< 0.99.38-2.3)



-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
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";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

deb http://mirror:3142/ftp.uni-kl.de/debian ../project/experimental main contrib non-free
deb http://mirror:3142/ftp.uni-kl.de/debian unstable main non-free contrib
deb-src http://mirror:3142/ftp.uni-kl.de/debian unstable main non-free contrib

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.4
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.1-4  GCC support library
ii  libstdc++6                    4.0.1-4    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: