yum无法更新CentO 7.6。
它说Requires: qt5-qtbase(x86-64) = 5.9.2
,但另一方面说Removing: qt5-qtbase-5.9.2-3.el7.x86_64
!
我该如何解决?
谢谢
--> Processing Dependency: qt5-qtbase(x86-64) = 5.9.2 for package: qt5-qtstyleplugins-5.0.0-26.el7.x86_64
--> Processing Dependency: qt5-qtbase(x86-64) = 5.9.2 for package: qt5-qtquick1-5.7.1-1.2bc722agit.el7.x86_64
--> Finished Dependency Resolution
Error: Package: qt5-qtstyleplugins-5.0.0-26.el7.x86_64 (@epel)
Requires: qt5-qtbase(x86-64) = 5.9.2
Removing: qt5-qtbase-5.9.2-3.el7.x86_64 (@anaconda)
qt5-qtbase(x86-64) = 5.9.2-3.el7
Updated By: qt5-qtbase-5.9.7-2.el7.x86_64 (base)
qt5-qtbase(x86-64) = 5.9.7-2.el7
Error: Package: qt5-qtquick1-5.7.1-1.2bc722agit.el7.x86_64 (@epel)
Requires: qt5-qtbase(x86-64) = 5.9.2
Removing: qt5-qtbase-5.9.2-3.el7.x86_64 (@anaconda)
qt5-qtbase(x86-64) = 5.9.2-3.el7
Updated By: qt5-qtbase-5.9.7-2.el7.x86_64 (base)
qt5-qtbase(x86-64) = 5.9.7-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
更新:
已启用的存储库:
[mehrdad@MHRS ~]$ yum repolist enabled
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.alpix.eu
* centos-sclo-rh: ftp.uni-bayreuth.de
* centos-sclo-sclo: ftp.uni-bayreuth.de
* epel: mirror.redium.net
* extras: centos.mirror.iphh.net
* nux-dextop: mirror.li.nux.ro
* rpmfusion-free-updates: mirror.ehv.weppel.nl
* rpmfusion-nonfree-updates: mirror.ehv.weppel.nl
* updates: ftp.agdsn.de
repo id repo name status
!base/7/x86_64 CentOS-7 - Base 10,097
!centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 8,548
!centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 804
!epel/x86_64 Extra Packages for Enterprise Linux 7 - 13,413
!extras/7/x86_64 CentOS-7 - Extras 304
!google-chrome google-chrome 3
!nodesource/x86_64 Node.js Packages for Enterprise Linux 7 43
!nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 2,718
!rpmfusion-free-updates/x86_64 RPM Fusion for EL 7 - Free - Updates 248
!rpmfusion-nonfree-updates/x86_64 RPM Fusion for EL 7 - Nonfree - Updates 77
!sublime-text Sublime Text - x86_64 - Stable 2
!updates/7/x86_64 CentOS-7 - Updates 319
repolist: 36,576
答案 0 :(得分:0)
似乎没有一个真正的解决方案。 qt5-qtstyleplugins
存储库中的epel
要求qt5-qtbase
具有确切的版本5.9.2
,但是该版本在base
存储库中不再可用。
如果您希望yum update
成功,则可以从更新中排除以下软件包:
yum update --exclude=qt5-qt*
有关从yum更新中排除软件包的更多信息,请参见here。