[Bug 1050779] Re: excessive backup pkgcache.bin files retained

Colin Watson cjwatson at canonical.com
Mon Oct 15 04:49:29 UTC 2012


** Tags removed: verification-needed
** Tags added: verification-done

-- 
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/1050779

Title:
  excessive backup pkgcache.bin files retained

Status in “apt” package in Ubuntu:
  Fix Released
Status in “apt” source package in Precise:
  Fix Committed
Status in “apt” package in Debian:
  Fix Released

Bug description:
  TEST CASE:
  1. sudo rm /var/cache/apt/*.bin
  2. "sudo apt-cache gencaches"
  3. ctrl-c in the middle of it
  4. sudo apt-get update
  5. verify with ls -l /var/cache/apt/ that there is a leftover file

  6. install the update
  7. repeat 1-4
  8 verify with ls -l /var/cache/apt that no files are leftover

  Apt can leave backup pkgcache.bin files around:

  $ ls -l /var/cache/apt
  drwxr-xr-x 3 root root   139264 Nov 29 16:54 archives
  -rw-r--r-- 1 root root 17660650 Nov 29 16:56 pkgcache.bin
  -rw-r--r-- 1 root root 25165824 Jun 13 20:08 pkgcache.bin.G247fS
  -rw-r--r-- 1 root root 25165824 Aug 22 19:55 pkgcache.bin.RUYLRh
  -rw-r--r-- 1 root root 25165824 Sep  4 21:40 pkgcache.bin.ZT8WEb
  -rw-r--r-- 1 root root 25165824 Sep 18  2010 pkgcache.bin.i7y21z
  -rw-r--r-- 1 root root 17639099 Nov 29 16:42 srcpkgcache.bin

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




More information about the foundations-bugs mailing list