我使用CentOS 6.5作为我的操作系统已经有一段时间了。通常,我在Linux安装方面没有太多问题,但是当新的CentOS 6.6发布时,我发现自己遇到了一些问题。有上百个更新要做,但只有一个是有问题的。如果输入命令yum update,就会得到
Resolving Dependencies
--> Running transaction check
---> Package scl-utils.i686 0:20120927-8.el6 will be updated
---> Package scl-utils.i686 0:20120927-23.el6_6 will be an update
---> Package xcb-util.i686 0:0.3.6-1.el6 will be updated
--> Processing Dependency: libxcb-icccm.so.1 for package: qt5-qtbase-gui-5.3.2-1.el6.i686
--> Processing Dependency: libxcb-image.so.0 for package: qt5-qtbase-gui-5.3.2-1.el6.i686
--> Processing Dependency: libxcb-keysyms.so.1 for package: qt5-qtbase-gui-5.3.2-1.el6.i686
---> Package xcb-util.i686 0:0.3.6-5.el6 will be an update
--> Running transaction check
---> Package xcb-util.i686 0:0.3.6-1.el6 will be updated
--> Processing Dependency: libxcb-icccm.so.1 for package: qt5-qtbase-gui-5.3.2-1.el6.i686
---> Package xcb-util-image.i686 0:0.3.9-4.el6 will be installed
---> Package xcb-util-keysyms.i686 0:0.3.9-5.el6 will be installed
--> Finished Dependency Resolution
Error: Package: qt5-qtbase-gui-5.3.2-1.el6.i686 (@epel)
Requires: libxcb-icccm.so.1
Removing: xcb-util-0.3.6-1.el6.i686 (@anaconda-CentOS-201311271240.i386/6.5)
libxcb-icccm.so.1
Updated By: xcb-util-0.3.6-5.el6.i686 (base)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest现在,我知道这类冲突通常来自不同回复的更新,但这是我当前的回购列表。
xcb-util实际上要求我安装xcb-util-image和xcb-util-keysyms作为dependencies..and,然后与它们发生冲突!当前版本的xcb-util没有安装这两个依赖项,并表示Source RPM: xcb-util-0.3.6-1.el6.sr。这有点奇怪。有人遇到过这个问题吗?非常感谢,我希望我提供了足够的信息。发布于 2014-10-30 10:51:32
问题是埃佩尔的qt5,我删除了它,没有问题升级。epel测试中已经有固定的qt5:https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3484/qt5-qtbase-5.3.2-3.el6
发布于 2015-11-28 07:36:00
只在默认情况下启用centos并禁用其他repo,然后运行命令
yum clean allyum update allhttps://unix.stackexchange.com/questions/164863
复制相似问题