发新话题
打印

CentOS Redhat Oracle Linux yum自动升级导致的硬盘满的故障

CentOS Redhat Oracle Linux yum自动升级导致的硬盘满的故障

yum update会导致OS硬盘满,文件存储在/var/cache/yum目录下

验证大小
# du -h -s /var/cache/*

清除缓存文件
# yum clean packages

或者直接
# rm -rf /var/cache/yum

再次验证大小
# du -h -s /var/cache/*

参考:
https://superuser.com/questions/1596512/can-we-clean-yum-cache-files-manually
https://www.thegeekdiary.com/how-to-clean-yum-cache-in-centos-rhel/

[ 本帖最后由 linda 于 2023-9-9 12:32 编辑 ]

TOP

发新话题