LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-26-2017, 09:29 AM   #1
QUADgnim
LQ Newbie
 
Registered: Dec 2008
Posts: 10

Rep: Reputation: 0
yum update failing on centos 7.2


I was trying to install pip and boto3 for python and when I ran into troubles I did a "yum update -y" and I get

.
.
.
--> Processing Dependency: libtracker-sparql-0.16.so.0()(64bit) for package: 4:netatalk-3.1.7-0.1.el7.centos.x86_64
--> Finished Dependency Resolution
Error: Package: libstoragemgmt-python-clibs-1.3.5-1.el6.x86_64 (epel)
Requires: libyajl.so.1()(64bit)
Error: Package: nettle-3.2-2.el6.x86_64 (epel)
Requires: libgmp.so.3()(64bit)
Error: Package: libstoragemgmt-python-1.3.5-1.el6.noarch (epel)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@base)
python(abi) = 2.7
python(abi) = 2.7
Available: python34-3.4.5-1.el6.i686 (epel)
python(abi) = 3.4
Error: Package: gnutls-3.3.24-1.el7.x86_64 (base)
Requires: libhogweed.so.2()(64bit)
Removing: nettle-2.7.1-4.el7.x86_64 (@anaconda)
libhogweed.so.2()(64bit)
Updated By: nettle-3.2-2.el6.x86_64 (epel)
~libhogweed.so.4()(64bit)
Available: nettle-2.7.1-8.el7.x86_64 (base)
libhogweed.so.2()(64bit)
Error: Package: libstoragemgmt-python-clibs-1.3.5-1.el6.x86_64 (epel)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@base)
python(abi) = 2.7
python(abi) = 2.7
Available: python34-3.4.5-1.el6.i686 (epel)
python(abi) = 3.4
Error: Package: libstoragemgmt-python-clibs-1.3.5-1.el6.x86_64 (epel)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: 4:netatalk-3.1.7-0.1.el7.centos.x86_64 (installed)
Requires: libtracker-sparql-0.16.so.0()(64bit)
Removing: tracker-0.16.2-11.el7.x86_64 (@base)
libtracker-sparql-0.16.so.0()(64bit)
Updated By: tracker-1.2.7-2.el7.x86_64 (base)
~libtracker-sparql-1.0.so.0()(64bit)
Error: Package: libstoragemgmt-1.3.5-1.el6.x86_64 (epel)
Requires: libyajl.so.1()(64bit)
Error: Package: libstoragemgmt-python-clibs-1.3.5-1.el6.x86_64 (epel)
Requires: libudev.so.0()(64bit)
Error: Package: libstoragemgmt-1.3.5-1.el6.x86_64 (epel)
Requires: libconfig.so.8()(64bit)
Error: Package: gnutls-3.3.24-1.el7.x86_64 (base)
Requires: libnettle.so.4()(64bit)
Removing: nettle-2.7.1-4.el7.x86_64 (@anaconda)
libnettle.so.4()(64bit)
Updated By: nettle-3.2-2.el6.x86_64 (epel)
~libnettle.so.6()(64bit)
Available: nettle-2.7.1-8.el7.x86_64 (base)
libnettle.so.4()(64bit)
Error: Package: libstoragemgmt-1.3.5-1.el6.x86_64 (epel)
Requires: libudev.so.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@localhost ~]#


any suggestions on what is causing this and a graceful way to resolve it?

Thanks
 
Old 05-26-2017, 09:44 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Try running "yum makecache fast" then rerunning your update.

I've found that if the makecache hasn't been run yum simply won't find some packages even though they're available in the repositories.
 
Old 05-26-2017, 09:46 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Error: Package: libstoragemgmt-python-clibs-1.3.5-1.el6.x86_64 (epel)
There is no "libstoragemgmt-python-clibs" in EPEL for el7.
https://dl.fedoraproject.org/pub/epel/7/x86_64/
In fact there are no packages.el6 at all: You added the wrong epel.repo, I guess.

Right is : # cd Downloads && yum install ./epel-release-7-9.noarch.rpm
https://dl.fedoraproject.org/pub/epe...7-9.noarch.rpm

-
 
1 members found this post helpful.
Old 05-26-2017, 10:14 AM   #4
QUADgnim
LQ Newbie
 
Registered: Dec 2008
Posts: 10

Original Poster
Rep: Reputation: 0
much closer. First makecache didn't work, but then after loading the correct epel library and running makecache afterward, it looks a lot better, but still having an issue. Any new suggestions?

.
.
.
---> Package ipset-libs.x86_64 0:6.19-6.el7 will be installed
---> Package tracker.x86_64 0:0.16.2-11.el7 will be updated
--> Processing Dependency: libtracker-sparql-0.16.so.0()(64bit) for package: 4:netatalk-3.1.7-0.1.el7.centos.x86_64
--> Finished Dependency Resolution
Error: Package: 4:netatalk-3.1.7-0.1.el7.centos.x86_64 (installed)
Requires: libtracker-sparql-0.16.so.0()(64bit)
Removing: tracker-0.16.2-11.el7.x86_64 (@base)
libtracker-sparql-0.16.so.0()(64bit)
Updated By: tracker-1.2.7-2.el7.x86_64 (base)
~libtracker-sparql-1.0.so.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@localhost tmp]#
 
Old 05-26-2017, 10:39 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can track all the alien el6 packages with :

$ rpm -qa | grep el6
 
Old 05-26-2017, 12:53 PM   #6
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
I'd have thought it COULDN'T install any el6 packages on el7 but its worth a check. Good catch by knudfl though - I hadn't noticed the el6 in your earlier output.

The error is saying it can't remove package libtracker-sparql-0.16.so.0()(64bit) because another package, netatalk-3.1.7-0.1.el7.centos.x86_64 is dependent on it. It appears to be removing the first package in order to update it.

You could remove netatalk-3.1.7-0.1.el7.centos.x86_64 then run your update again. After that you could try yum install of netatalk (without specifying version) to see if there is a newer one that is satisfied by the newer tracker (or can pull in its own dependencies.)
 
Old 05-26-2017, 01:46 PM   #7
QUADgnim
LQ Newbie
 
Registered: Dec 2008
Posts: 10

Original Poster
Rep: Reputation: 0
so rpm -qa didn't find any el6 libraries. I ended up uninstalling netatalk-3.1.7 and everything seems ok. Thank you to everyone for your input and guidance I appreciate the help and quick response. I'm not even sure what netatalk-3.1.7 is or if I need it so unless I have issues, I'll probably leave it uninstalled.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
YUM update failing on RHEL 7.1 64 bit. Ankushkalra Linux - Newbie 9 05-08-2017 11:44 PM
yum update keeps failing jpro6363 Linux - Newbie 4 05-10-2015 05:16 PM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
[SOLVED] Yum failing in update unix1adm Linux - General 8 12-03-2009 09:27 AM
rpm and yum commands failing on CentOS 4.2 amussaw Linux - Newbie 1 03-21-2006 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:20 AM.

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