Re: Bug#87747: apt: fails to compare versions correctly
On Mon, Feb 26, 2001 at 08:06:09PM -0600, Sam TH wrote:
> On Mon, Feb 26, 2001 at 06:04:32PM -0700, Jason Gunthorpe wrote:
> > You can try rm /var/cache/apt/*.bin - but that should not change anything
> > (unless you have flaky hardware).
> >
> > I assume this output is from apt-get dist-upgrade? (you didn't give any
> > context)
> >
> > Can you even duplicate it?
>
> I fixed the problem, by removing apt, all of /var/*/apt/, and /etc/apt, and
> reinstalling with dpkg.
>
> However, removing /var/cache/apt/* and /var/state/apt/* was not enought to
> fix it. So either the config files were breaking this (I just had apt.conf
> and sources.list) or the apt installation was bad. I'm not sure.
>
> But it was repeatable, and was from dist-upgrade.
I recall getting a strange error like this one in connection with the recent
changes in perl dependencies. Specifically, I believe I was trying to install
an architecture: all package from sid on a potato system (apt 0.3.19). I just
spent some time trying to reproduce the problem, but couldn't. If I come up
with anything, I'll send it here.
Note that in this case (as I remember it), I really was requesting an
impossible (or at least very weird) operation from apt's perspective; however,
the error messages were bogus and didn't explain the real problem. It took
some investigation to figure out what the real problem was.
--
- mdz
Reply to: