I've had this happen again, and I have an explanation. Installing a package directly with dpkg updates /var/lib/dpkg/status and this invalidates pkgcache.bin.
So, srcpkgcache.bin is not involved (I don't know why David mentioned it) and pkgcache.bin is legitimately invalidated. But still, this is a problem, as apt-cache will be very slow until the binary cache is regenerated. Ben. -- Ben Hutchings Beware of programmers who carry screwdrivers. - Leonard Brandwein
signature.asc
Description: This is a digitally signed message part