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

Bug#650513: marked as done (excessive backup pkgcache.bin files retained?)



Your message dated Thu, 19 Apr 2012 13:29:41 +0200
with message-id <CAAZ6_fCXTy1TcP2K8TKeuqvLya20efxsW7bGKsWGYPBWyPmjJA@mail.gmail.com>
and subject line Re: Bug#650513: excessive backup pkgcache.bin files
has caused the Debian Bug report #650513,
regarding excessive backup pkgcache.bin files retained?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
650513: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650513
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.15.9
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



--- End Message ---
--- Begin Message ---
Version: 0.8.16~exp13

On Thu, Apr 19, 2012 at 13:00, Brendan Byrd <sineswiper@gmail.com> wrote:
> This bug exists in stable, and it's very annoying on my side.  My
> partition will fill up with these blasted files.  I think it's more
> noticeable on my side because I use CRON-APT to update my security
> patches for my VPS every 4 hours.  Every time it does that, it seems
> like it creates another 45MB pkgcache.bin file backup.

These files aren't backups. Nobody needs backups of binary caches…

They are files left behind by died apt processes:
e.g. if you have killed them - or if they segfault.
Depending on how hard his death was apt can't cleanup after itself
anyway - beside that the content could be interesting to understand
why it died -- maybe, depending on how it died.

So please identify first why apt seems to die all the time for you
and report this as a bug.


This bugreport was closed as the 'apt-get clean' command removes
these files now (too). As a new feature this is neither backportable
nor important (which wouldn't be the correct severity even if this
would be a bug…).

Oh, and next time, if you insist on reopening a closed bugreport
at least keep the fixed versions in tact (beside that the reopening
itself is at least questionable as the bts knows just by the found
property that this bugreport effects squeeze…)


Best regards

David Kalnischkies


--- End Message ---

Reply to: