I don't have an issue with how pacman handles caching 99% of the time. However, occasionally there is a package which is both large and also not necessary to cache.

For example, I have wesnoth which is 418 MB in the cache. 4 versions of this are cached for a total of ~2 GB. Fun as wesnoth is, it's not really critical for my system's operation and if a new release breaks it, so be it, I'll just wait until a fix comes out rather than rolling back. It makes no sense to waste all that space to cache it.

Would it be bad to simply go into /var/cache/pacman/pkg and delete the wesnoth files manually?


Sure, as long as you don't delete the current version; use pacman -R if you want to do that, so your database is updated.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.