运行 yum install 时出现这些错误...(对于几乎任何软件包)
“examplerepo”指的是我的存储库,/etc/yum.repos.d
我将其配置为指向
baseurl=http://vault.centos.org/7.3.1611/os/x86_64/
Error: Package: tigervnc-server-minimal-1.3.1-9.el7.x86_64 (@ftp3)
Requires: libX11.so.6()(64bit)
Removing: libX11-1.6.3-3.el7.x86_64 (@ftp3)
libX11.so.6()(64bit)
Updated By: libX11-1.6.4-3.el6.i686 (examplerepo)
Not found
Error: Package: cairo-1.14.2-1.el7.x86_64 (@ftp3-updates)
Requires: libxcb-shm.so.0()(64bit)
Removing: libxcb-1.11-4.el7.x86_64 (@ftp3-updates)
libxcb-shm.so.0()(64bit)
Updated By: libxcb-1.12-4.el6.i686 (examplerepo)
Not found
Error: Package: 1:totem-3.14.3-6.el7.x86_64 (@ftp3)
Requires: libX11.so.6()(64bit)
Removing: libX11-1.6.3-3.el7.x86_64 (@ftp3)
libX11.so.6()(64bit)
Updated By: libX11-1.6.4-3.el6.i686 (examplerepo)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案1
感谢@cutrightjm 的回答。我将 url 更改为实际有效的内容,然后 yum clean all + yum check-update 解决了问题。