[Bug 1045704] Re: should clean pkgcache.bin.* and srcpkgcache.bin.*

Julian Andres Klode juliank at ubuntu.com
Tue Sep 4 10:22:48 UTC 2012


So, what should we do about this? Revert to non-atomic replacements, use
a fixed filename (pkgcache.bin.tmp, brings a race condition), or add a
signal handler that cleans up those files on SIGINT -- which I assume is
the reason there are so many files, as we rename the temporaries to the
final name if the code is not interrupted.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1045704

Title:
  should clean pkgcache.bin.* and srcpkgcache.bin.*

Status in “apt” package in Ubuntu:
  In Progress

Bug description:
  The issue is reported from a precise system upgraded over time, it
  seems that pkgcache.bin.<random> and srcpkgcache.bin.<random> are left
  over time in  /var/cache/apt/, those should be cleaned

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1045704/+subscriptions




More information about the foundations-bugs mailing list