[Bug 1050779] [NEW] excessive backup pkgcache.bin files retained

Michael Vogt michael.vogt at ubuntu.com
Fri Sep 14 07:34:01 UTC 2012


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
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:
  In Progress
Status in “apt” package in Debian:
  Unknown

Bug description:
  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

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