Section: Maintenance Commands (8) Updated: June 2010 Local index
approx-gc - garbage-collect the cache of Debian archive files
scans the cache created by
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 checksum
does not match the value specified in the
An unneeded file is one that is not referenced from any distribution's
may take several minutes to finish.
- -c file, --config file
Specify an additional configuration file.
May be used multiple times.
- -f, --fast
Don't perform checksum validation.
- -k, --keep, -s, --simulate
Don't remove files from the cache.
- -q, --quiet
Don't print file names.
- -v, --verbose
Print the reason for removal of each file.
To remove all unneeded or corrupted files from the cache:
This is run as a weekly
To list the files that would be removed from the cache,
without actually doing so:
Configuration file for
and related programs.
Default cache directory for archive files.
Eric Cooper <email@example.com>
- SEE ALSO
This document was created by
using the manual pages.
Time: 22:01:15 GMT, April 16, 2011