LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-12-2016, 09:18 PM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Rep: Reputation: 18
yum fails to update due to dependency problems


I'm trying to run a
Code:
# yum update
on my CentOS 7 laptop and I get the following error:

Code:
Error: Package: ffmpeg-libs-2.6.5-1.el7.nux.x86_64 (@nux-dextop)
           Requires: libx265.so.51()(64bit)
           Removing: x265-libs-1.6-1.el7.nux.x86_64 (@nux-dextop)
               libx265.so.51()(64bit)
           Updated By: x265-libs-1.7-1.el7.x86_64 (epel-spotify)
              ~libx265.so.59()(64bit)
Error: Package: vlc-core-2.2.1-6.el7.nux.x86_64 (@nux-dextop)
           Requires: libx265.so.51()(64bit)
           Removing: x265-libs-1.6-1.el7.nux.x86_64 (@nux-dextop)
               libx265.so.51()(64bit)
           Updated By: x265-libs-1.7-1.el7.x86_64 (epel-spotify)
              ~libx265.so.59()(64bit)
Evidently, the problem lies with x265-libs so, in order to have my system somewhat updated, I had to do a
Code:
# yum update --skip-broken
Where it skipped the problematic dependency and started processing the update. But, accidently, I struck a some key combination and the updating process took a halt (or it was just doing something under the hood) and there was a ^C printed out.

I switched terminals and, as root, killed the yum process. Then, I entered

Code:
yum-complete-transaction --cleanup-only && yum history redo last
The stacktrace gave out:

Code:
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. Eg.:
       
         1. You have an upgrade for openssl-libs which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of openssl-libs of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude openssl-libs.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of openssl-libs installed, but
            yum can only see an upgrade for one of those architectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
       
         3. You have duplicate versions of openssl-libs installed already.
            You can use "yum check" to get yum show these errors.
       
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).
       
       Protected multilib versions: 1:openssl-libs-1.0.1e-51.el7_2.4.i686 != 1:openssl-libs-1.0.1e-51.el7_2.2.x86_64
After this error, I am trying a # yum check and console is halted and I'm faily sure it's attempting to do something under the hood.

What should I do to get my system not only up and running again, but updated?

Thanks in advance
 
Old 03-12-2016, 10:04 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
This may help: http://idroot.net/tutorials/fix-yum-...-dependencies/

I have no way to test it.
 
1 members found this post helpful.
Old 03-13-2016, 12:29 AM   #3
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by frankbell View Post
This may help: http://idroot.net/tutorials/fix-yum-...-dependencies/

I have no way to test it.
Thanks, buddy! Got it working.

On a side note, some things are so much easier on Slackware!
 
Old 03-13-2016, 12:29 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
from your output you posted i am guessing you did not install and CONFIGURE !!! " yum-priorities"

you have a standard conflict
this plugin was created to solve this issue

"epel-spotify" and "@nux-dextop" are trying to use incompatible rpm's

please see the documentation on the centOS wiki
https://wiki.centos.org/AdditionalRe...s/Repositories
and the plugin
https://wiki.centos.org/PackageManag...Yum/Priorities
 
  


Reply

Tags
centos, update, yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum update fails because of a newer dependency rogerp Linux - General 3 06-30-2014 01:48 PM
Yum Won't Update Due To Missing Dependency on New Installation cmnorton Red Hat 2 06-12-2009 10:31 AM
Yum update fails due to file conflict daveginorge Linux - Software 1 02-17-2008 08:09 AM
Yum update fails - Missing Dependency godisadj Fedora 5 01-02-2008 05:44 AM
yum update fails because of faad2 dependency alabamaman Linux - Software 1 09-11-2007 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration