man gc_approx (Administration système) - garbage-collect the cache of Debian archive files

NAME

gc_approx - garbage-collect the cache of Debian archive files

SYNOPSIS

gc_approx [OPTION]...

DESCRIPTION

gc_approx scans the cache created by approx(8) and finds files that are corrupted or no longer needed. With no options specified, these files are listed on standard output and removed from the cache.

A corrupted file is one whose size or MD5 checksum does not match the value specified in the Packages file. An unneeded file is one that is not referenced from any distribution's Packages file.

gc_approx may take several minutes to finish.

OPTIONS

-f, --fast
Don't perform MD5 checksum validation.
-k, --keep
Don't remove files from the cache.
-q, --quiet
Don't print file names.

EXAMPLES

gc_approx --quiet

removes all unneeded or corrupted files from the cache. This is run as a weekly cron(8) job.

gc_approx --keep

lists the files that would be removed from the cache, without actually doing so.

FILES

/etc/approx/approx.conf


Configuration file for approx and gc_approx.
/var/cache/approx


Cache directory for archive files.

SEE ALSO

AUTHOR

Eric Cooper <ecc@cmu.edu>