两条命令 yum clean all 以及 rm -rf /var/cache/yum/*
yum clean all
rm -rf /var/cache/yum/*
如何有效的清理yum缓存 - CSDN博客 https://blog.csdn.net/nsrainbow/article/details/46813777