problem during yum update

General support questions
Post Reply
mickey0
Posts: 63
Joined: 2015/06/16 22:44:38

problem during yum update

Post by mickey0 » 2019/09/06 15:33:23

Hello,

I can't do the update through yum since I've got some dependency errors, like this:

Code: Select all

error: Package: qt5-qtwebkit-5.9.1-2.el7.x86_64 (epel)
           Requires: qt5-qtbase(x86-64) = 5.9.7
           Installed: qt5-qtbase-5.9.2-3.el7.x86_64 (@base)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
and many other like:

Code: Select all

Error: Package: mono-nunit-5.20.1.34-0.xamarin.2.epel7.x86_64 (download.mono-project.com_repo_centos_)
           Requires: mono-core = 5.20.1.34
           Removing: mono-core-5.20.1.19-0.xamarin.3.epel7.x86_64 (@download.mono-project.com_repo_centos_)
               mono-core = 5.20.1.19-0.xamarin.3.epel7
           Updated By: mono-core-6.0.0.327-0.xamarin.1.epel7.x86_64 (download.mono-project.com_repo_centos_)
..................................................................
Does anybody know what I can't do, what I can remove/re-install, please?

Thanks

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: problem during yum update

Post by TrevorH » 2019/09/06 15:50:13

RHEL 7.7 is out and EPEL have already rebuilt some packages that needed rebuilding for it. That means that those of us on CentOS 7.6 can't use those as they depend on 7.7 packages. CentOS 7.7 is not fully out yet - the packages are built and signed and in the CR repo but the isos are yet to be built and tested. You might have more luck if you use yum --enablerepo-cr ...

Also, some packages for EPEL have not been promoted from epel-testing yet so you may need to enable epel-testing if using CR.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mickey0
Posts: 63
Joined: 2015/06/16 22:44:38

Re: problem during yum update

Post by mickey0 » 2019/09/06 20:08:32

yum and repositories in general are still confusing me. Is there any simple and clear guide to read that somebody can suggest to me?

Thanks

BTW with 'sudo yum --enablerepo cr update' I solved many errors but not all. This is what remains:

Code: Select all

Error: Package: kf5-kxmlgui-5.52.0-1.el7.x86_64 (@epel)
           Requires: qt5-qtbase(x86-64) = 5.9.2
           Removing: qt5-qtbase-5.9.2-3.el7.x86_64 (@base)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
           Updated By: qt5-qtbase-5.9.7-2.el7.x86_64 (cr)
               qt5-qtbase(x86-64) = 5.9.7-2.el7
Error: Package: qt-creator-4.1.0-4.el7.x86_64 (@epel)
           Requires: qt5-qtbase(x86-64) = 5.9.2
           Removing: qt5-qtbase-5.9.2-3.el7.x86_64 (@base)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
           Updated By: qt5-qtbase-5.9.7-2.el7.x86_64 (cr)
               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


User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: problem during yum update

Post by TrevorH » 2019/09/06 22:18:01

Try --enablerepo=cr,epel-testing
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mickey0
Posts: 63
Joined: 2015/06/16 22:44:38

Re: problem during yum update

Post by mickey0 » 2019/09/07 17:56:37

Hello,

nothing to do; a little better though.

Code: Select all

Error: Package: qt-creator-4.1.0-4.el7.x86_64 (@epel)
           Requires: qt5-qtbase(x86-64) = 5.9.2
           Removing: qt5-qtbase-5.9.2-3.el7.x86_64 (@base)
               qt5-qtbase(x86-64) = 5.9.2-3.el7
           Updated By: qt5-qtbase-5.9.7-2.el7.x86_64 (cr)
               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


User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: problem during yum update

Post by avij » 2019/09/07 19:48:58

qt-creator would need to be rebuilt: https://bugzilla.redhat.com/show_bug.cgi?id=1748215

spartanscrub
Posts: 1
Joined: 2019/08/22 02:20:21

Re: problem during yum update

Post by spartanscrub » 2019/09/10 20:54:27

So yum update for all qt5 stuff is just going to be broken until CentOS 7.7 is out? Enabling cr and epel-testing just makes more issues with other packages wanting the older version

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: problem during yum update

Post by TrevorH » 2019/09/10 21:23:08

If you only have CentOS repos including CR enabled and find things like that then they are bugs (assuming that you have the same yum priority assigned to all of base/updates and CR). If you find them in third party packages such as those from EPEL then that needs action from the EPEL maintainers. Since EPEL is built (afaik) on RHEL they will have been building things against 7.7 for most of the last month. If you find stuff broken from other repos then that's also a job for their maintainers to fix.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: problem during yum update

Post by avij » 2019/09/10 23:44:31

To be clear -- qt-creator that I mentioned above is an EPEL package and it has been built for RHEL 7.6. It would need to be rebuilt for RHEL 7.7 so that it would work for CentOS 7.7. That is a task for the EPEL package maintainer, not CentOS.

If someone has qt-creator installed and it causes problems with the update, one "solution" would be to yum remove qt-creator and then installing the package again once an updated package has been released.

Post Reply