remove invalid pkgcache.bin and rebuild it if possible
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 19 May 2011 12:16:43 +0000 (14:16 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 19 May 2011 12:16:43 +0000 (14:16 +0200)
commit388f2962666a265709ad7c6e18902d49726b1f2c
tree153e9158101d6805f2580c8cd7484acba46bbe64
parent470a5c38519989313514ebaec6920aafee53d798
remove invalid pkgcache.bin and rebuild it if possible

The next invocation of APT tried to load an outdated big
(and possible io-cold) file just to end up rebuilding it
(possibly only as non-root in memory again and again), so
we remove it here and if we have a srcpkgcache we are
going to rebuild, too.
apt-pkg/deb/dpkgpm.cc
debian/changelog