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?
Asked
Active
Viewed 3,843 times
1 Answers
-1
Refer post: https://www.computerhope.com/unix/apt-file.htm & https://wiki.debian.org/apt-file
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.
Purge
Clear "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 purge
related directories:
~/.cache/apt-file
/var/cache/apt/apt-file
Ajay
- 688