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

Re: Bug#120291: apt: Weird dependency resolver problem - aptitude uninstallable



On Mon, Nov 19, 2001 at 08:45:07PM -0700, Jason Gunthorpe wrote:

Hi,

> > So, apt provides 'libapt-pkg-libc6.2-3-2-3.2'. Naturally, apt is installed.
> 
> Actually, your output shows that it isn't installed, at least not the
> version you think is installed. 

Well, dpkg says:

ii  apt                                     0.5.4

apt-cache show apt says:

chardonnay:/usr/lib# apt-cache show apt 2>&1| egrep 'Version|Provides'
Version: 0.5.4
Provides: libapt-pkg-libc6.2-3-2-3.1
Version: 0.5.4
Provides: libapt-pkg-libc6.2-3-2-3.2
Version: 0.5.4
Provides: libapt-pkg-libc6.2-3-2-3.2
Version: 0.5.4
Provides: libapt-pkg-libc6.2-3-2-3.2
Version: 0.5.4
Provides: libapt-pkg-libc6.2-3-2-3.2
Version: 0.5.4
Provides: libapt-pkg-libc6.2-3-2-3.2

And my status file contains:

Package: apt
Status: install ok installed  
Version: 0.5.4
Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7)
Provides: libapt-pkg-libc6.2-3-2-3.1
Depends: libc6 (>= 2.2.3-1), libstdc++2.10-glibc2.2

So the problem seems to be that I have an apt 0.5.4 package that provides
libapt-pkg-libc6.2-3-2-3.1 instead of libapt-pkg-libc6.2-3-2-3.2.

How can that be?

To answer my own question: it probably came from people.debian.org/~kov/,
and was never upgraded because it had the same version number as the 0.5.4
that provides the newer libapt-pkg.

So this is not a bug in apt after all, just a version numbering discrepancy.

> Which probably means you have a preferences file or otherwise. What does
> 'apt-cache policy apt' show?

E: Invalid operation policy

What was it supposed to say? I couldn't find a reference to a 'policy'
operation in either apt-get's or apt-cache's manpage.

Andrew

-- 
            Andrew Korn (Korn Andras) <korn@chardonnay.math.bme.hu>
             Finger korn@chardonnay.math.bme.hu for pgp key. QOTD:
        Never question your wife's judgement... look whom she married.



Reply to: