首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >百胜未能更新

百胜未能更新
EN

Stack Overflow用户
提问于 2019-10-02 14:45:36
回答 1查看 285关注 0票数 0

百胜未能更新CentOs 7.6。

它说Requires: qt5-qtbase(x86-64) = 5.9.2,但在另一边它说Removing: qt5-qtbase-5.9.2-3.el7.x86_64

我怎么才能解决这个问题?

谢谢

代码语言:javascript
复制
--> 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

更新:

启用回购:

代码语言:javascript
复制
[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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-10-03 12:51:29

这似乎没有一个真正的解决办法。来自epel存储库的epel需要具有确切版本5.9.2qt5-qtbase,但是这个版本在base存储库中不再可用。

如果希望yum update成功,可以从更新中排除这些包:

代码语言:javascript
复制
yum update --exclude=qt5-qt*

有关从yum更新中排除包的更多信息,请参见这里

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58203910

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档