i am trying to free up some space on my server, and i noticed that
/var/cache/apt has 322M
assuming that it is just a cache, in my mind it should be ok to delete those files and if it needs it again, then it will just download the files again
is that the correct assumption to make ?
serve: debian 4
Apt can do this with itself with the clean and autoclean options.
You can delete any file you want inside
/var/cache
. To quote the Filesystem Hierarchy Standard v 2.3, which Debian packages are required to follow:1So, any software in Debian should be able to recover, possibly at the cost of some CPU time, bandwidth, etc., from
find /var/cache -type f -print0 | xargs -0 rm -f