Issues with ‘yum update’ on Centos 7

Linux updates sometimes can be a hell, specially when you are in the process of learning and mastering Linux. I was trying to perform the regular update to my laptop with the glorious “yum update” command, easy way to go for me, but, guess what? Issues, issues and issues. So, How did I finally get to go over the update?

First issue while running “yum update”:
–> Finished Dependency Resolution

Not found
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

So, ok, got it, I used the recommended option “–skip-broken”. While running “yum –skip-broken update”, I got next error:

Transaction check error:
  package gnome-system-log-1:3.8.1-5.el7.x86_64 is already installed
Error Summary

Now what?! Ok, I skipped over that package too by running:
yum –skip-broken update –exclude=*gnome-system-log

And it continued with the update process. But again I faced another error:

Error:  Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem.
You have an upgrade for java-1.7.0-openjdk which is missing some

            dependency that another package requires

 So, I decided to delete that package and keep the newer I had installed (I had two versions)

rpm -qa | grep java

So, I deleted java-1.7.0-openjdk:

yum erase java-1.7.0-openjdk*

  java-1.7.0-openjdk.x86_64 1:                  java-1.7.0-openjdk-devel.x86_64 1:             
  java-1.7.0-openjdk-headless.x86_64 1:            
Dependency Removed:
  icedtea-web.x86_64 0:1.5.2-0.el7                                                                                                                   

After all that, I finally ran below command and I get the update with a lot of skipped packages.

yum –skip-broken update –exclude=*gnome-system-log
Skipped (dependency problems):
  ORBit2.x86_64 0:2.14.19-13.el7                    cups.x86_64 1:1.6.3-17.el7_1.1        …

I’m getting myself into mastering Linux step by step, so, these posted steps might not be the right path to follow but at least it worked for me and I got the update, although I don’t know yet if deleting java7 will impact something, I’ll let you know. Maybe in future I’ll do better than this!

Leave a Reply