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

Bug#351056: FIX for #351056, apt always reinstalling packages because identical versions are not merged in the cache



On lördagen den 8 december 2007, you stated the following:
> FYI, I am seeing this problem as well, but this patch, while it
> applies cleanly, does not resolve it for me.  I've tried after apt-get
> clean and after removing the /var/cache/apt/*.bin files, and I've
> tried applying only the first patch hunk, with no success.

I, too, still see similar symptoms, but I believe the cause to be different. 
My patch fixes the code that groups identical package versions together; 
without patching, it sometimes fails to do that, i.e. it fails to see that a 
version of higher priority is in fact identical to the installed version. By 
patching apt-cache.cc so that apt-cache policy prints the hash value of each 
version group I can see that pkgCacheGenerator::MergeList() works correctly. 
Perhaps the hash calculation is broken?

-- 
Magnus Holmgren        holmgren@lysator.liu.se

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: