Clear apt-file cache
How do I clear the cache created by running apt-file update?
Also, is there a way to see how much space the cache is currently using?
1 Answer
Refer post: &
apt-file purge
Purge the user cache. An apt-file update will be needed before a search can be performed on the user cache. If the user cache doesn't exist, the system-wide cache can be used for user searches.
PurgeClear "Contents-" files from the apt-file cache directory. If you receive any errors listing or searching, it's a good idea to perform a purge and then an update.
To delete the system wide cache use:
sudo apt-file purgerelated directories:
~/.cache/apt-file
/var/cache/apt/apt-file 4