I regularly run "yum clean all" as yum tends to cache lots of stuff which isn't really necessary once you have done your patching.
Michael Lightfoot Delivery Engineer Sliced Tech Canberra, Australia
-----Original Message----- From: CentOS centos-bounces@centos.org On Behalf Of Valeri Galtsev Sent: Wednesday, 5 January 2022 5:42 AM To: centos@centos.org Subject: Re: [CentOS] how to clear out /var/cache?
On 1/4/22 1:22 PM, Johnny Hughes wrote:
On 12/31/21 22:15, Fred wrote:
well, I removed all the files in the tree under /var/cache/yum/x86_64/7 but left all the directories empty. that got rid of a couple gigs of stuff.
among the remains, the only other big one remaining is:
2.3G abrt-di
which I won't mess with for now.
I've got 4.2G free, now, so that should run me for quite a while.
Thanks to all of you for your tips!
Fred
For the record .. I remove things manually from /var/cache/yum/ all the time (or /var/cache/dnf/ ). It has never caused me any issues.
I have not removed anything else manually from /var/cache/
+1
Valeri
<snip> _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos