Centos Yum缓存问题?
因此,我最近尝试运行yum更新和yum安装perl。 出于某种原因,出现了此错误:Centos Yum缓存问题?,centos,yum,Centos,Yum,因此,我最近尝试运行yum更新和yum安装perl。 出于某种原因,出现了此错误: -bash-4.1# yum install libpcap Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile Error: Error making cache directory: /var/cache/yum/x86_64/6/epel error was: [Errno 17] File e
-bash-4.1# yum install libpcap
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Error: Error making cache directory: /var/cache/yum/x86_64/6/epel error was: [Errno 17] File exists: '/var/cache/yum/x86_64/6/epel'
我已尝试过yum clean all,但仍显示该错误。请提供帮助,谢谢。通过输入
ls -ld /var/cache/yum/x86_64/6/epel
它应该像打印sthg一样
drwxr-xr-x. 4 root root 4096 Aug 4 23:27 /var/cache/yum/x86_64/6/epel
然后,您可以检查yum config和日志文件,如果没有可疑,请发布您的yum版本
grep -i error /var/log/yum.log
cat /etc/yum.conf
yum --version
在我的系统上,/var/cache/yum是指向另一个不存在的目录的链接-重新创建了链接,一切正常