Public bug reported: TEST CASE: 1. sudo rm /var/apt/cache/*.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 ** Affects: apt (Ubuntu) Importance: Undecided Status: Fix Released ** Affects: apt (Ubuntu Precise) Importance: Medium Status: In Progress ** Affects: apt (Debian) Importance: Unknown Status: Unknown ** Also affects: apt (Ubuntu Precise) Importance: Undecided Status: New ** Bug watch added: Debian Bug tracker #650513 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650513 ** Also affects: apt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650513 Importance: Unknown Status: Unknown ** Changed in: apt (Ubuntu) Status: New => Fix Released ** Description changed: + TEST CASE: + 1. sudo rm /var/apt/cache/*.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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1050779 Title: excessive backup pkgcache.bin files retained To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1050779/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs