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

Bug#245253: apt-get: claims it will upgrade a packages that should/will not be



On Thu, Apr 29, 2004 at 11:29:08PM -0600, Jason Gunthorpe wrote:

> On Thu, 29 Apr 2004, Matt Zimmerman wrote:
> 
> > On Fri, Apr 23, 2004 at 12:30:54AM -0600, Jason Gunthorpe wrote:
> > 
> > > > And above all, why if I comment out any one of the 2 source lines, would it
> > > > think that the installed package is good ?
> > > 
> > > Well, I remember there is a bug here. I guess it was never fixed (Matt do
> > > you know?)
>  
> > Perhaps two of the available versions are identical, and the other is
> > different?  I don't think there is a bug in that case.
> 
> I was thinking of something like what happens if it reads in this order:
> 
> Version 1 with CRC 1
> Version 1 with CRC 2
> Version 1 with CRC 1
> 
> Then it creates _3_ version records not the two you'd expect.
> 
> That's a bug, it should only make 2.

Ah, ok.  So it notices they're the same only if they're consecutive?  I've
never encountered that behaviour, nor looked at that part of the code.

-- 
 - mdz



Reply to: