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

Bug#254691: marked as done (/usr/bin/apt-get: apt-get thinks of multiple versions of a package as multiple providing packages)



Your message dated Wed, 14 Sep 2011 19:42:37 +0200
with message-id <CAAZ6_fD8qdA=xs9ijjHTvCMXuzjwfefMjKz1m6vXmb1p-s2iBA@mail.gmail.com>
and subject line Close: apt-get thinks of multiple versions of a package as multiple providing packages
has caused the Debian Bug report #254691,
regarding /usr/bin/apt-get: apt-get thinks of multiple versions of a package as multiple providing packages
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.)


-- 
254691: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=254691
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.5.25
Severity: normal
File: /usr/bin/apt-get

Hi,

for some time now I wondered why I get the following message from
% sudo apt-get install libreadline-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Package libreadline-dev is a virtual package provided by:
  libreadline4-dev 4.3-11
You should explicitly select one to install.
E: Package libreadline-dev has no installation candidate

Looking into the code it seems that it should select libreadline4-dev
automatically if its the only option. So I looked deeper and saw that
the loop that prints out the alternatives will skip some packages:

if (Cache[Pkg].CandidateVerIter(Cache) == I.OwnerVer())

If I comment this I get the following output:

% sudo apt-get install libreadline-dev      
Reading Package Lists... Done
Building Dependency Tree... Done
Package libreadline-dev is a virtual package provided by:
  libreadline4-dev 4.3-11
  libreadline4-dev 4.3-10
You should explicitly select one to install.
E: Package libreadline-dev has no installation candidate


It seems apt-get finds more than one version of libreadline4-dev
(which is true) and considers them as multiple alternatives for a
provides (in the sense that it doesn't pick the only providing
package).

MfG
	Goswin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.3-6    GCC support library
ii  libstdc++5                  1:3.3.3-6    The GNU Standard C++ Library v3

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.7.24

duplicate of #547788 (or better: the other way around)
which is already marked as fixed and archived,
so closing this one here as well.

Feel free to reopen it if i am wrong.


Best regards

David Kalnischkies


--- End Message ---

Reply to: