[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#650513: excessive backup pkgcache.bin files retained?

Package: apt
Severity: wishlist

It seems excessive backup pkgcache.bin files are being retained,

# ls -l /var/cache/apt
total 99472
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

Also my sources.lists have no src lines, so maybe there should be no
srcpkgcache.bin kept.

We also note this command will apparently not zap the backups,
$ apt-get --dry-run clean
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Del /var/cache/apt/archives/* /var/cache/apt/archives/partial/*
Del /var/cache/apt/pkgcache.bin /var/cache/apt/srcpkgcache.bin

Reply to: