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

Launchpad Bug Tracker 1050779 at bugs.launchpad.net
Wed Oct 24 16:30:16 UTC 2012


This bug was fixed in the package apt - 0.8.16~exp12ubuntu10.5

---------------
apt (0.8.16~exp12ubuntu10.5) precise-proposed; urgency=low

  * apt-pkg/pkgcachegen.cc:
    - Fix crash if the cache is remapped while writing a Provides version
      (LP: #1066445).

apt (0.8.16~exp12ubuntu10.4) precise-proposed; urgency=low

  [ David Kalnischkies ]
  * apt-pkg/packagemanager.cc:
    - do not run into loop on new-pre-depends-breaks (Closes: #673536)
      LP: #1050791
  * apt-pkg/cachefile.cc:
    - clean up lost atomic cachefiles with 'clean' (Closes: #650513)
      LP: #1050779

  [ TJ ]
  * apt-pkg/contrib/netrc.cc:
    - increase LOGINSIZE/PASSWORDSIZE limits and add proper error
      if the limits are reached (LP: #1065429)

  [ Michael Vogt ]
  * lp:~mvo/apt/lp346386-precise:
    - fail gracefully when a InRelease file is not valid, e.g. behind
      paywalls (LP: #346386)
 -- Colin Watson <cjwatson at ubuntu.com>   Mon, 15 Oct 2012 05:42:45 +0100

** Changed in: apt (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
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 Released
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