LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2017, 11:21 PM   #1
Ankushkalra
Member
 
Registered: Jan 2017
Posts: 48

Rep: Reputation: Disabled
YUM update failing on RHEL 7.1 64 bit.


Hi,

I am new to rhel7.

In my envirement there are 20 rhel 7.1 machines.All servers are of 64 bit.

I have configured local yum server on one of the 20 servers and all take yum update from that server using ftp.

I am able to install packages like bind,gcc etc through yum server but unable to install liberaries through "yum install lib*".It gives an error as follows

#yum install lib*
error:
---> Package python-paste.noarch 0:1.7.5.1-9.20111221hg1498.el7 will be installed
--> Processing Dependency: python-tempita for package: python-paste-1.7.5.1-9.20111221hg1498.el7.noarch
--> Running transaction check
---> Package perl-Business-ISBN-Data.noarch 0:20120719.001-2.el7 will be installed
---> Package perl-IO-Socket-IP.noarch 0:0.21-4.el7 will be installed
---> Package perl-Net-LibIDN.x86_64 0:0.12-15.el7 will be installed
---> Package perl-Net-SSLeay.x86_64 0:1.55-3.el7 will be installed
---> Package python-tempita.noarch 0:0.5.1-6.el7 will be installed
--> Processing Conflict: libcmpiCppImpl0-2.0.3-5.el7.x86_64 conflicts tog-pegasus-libs
--> Processing Conflict: 2:tog-pegasus-libs-2.12.1-16.el7.x86_64 conflicts libcmpiCppImpl0
--> Finished Dependency Resolution
Error: libcmpiCppImpl0 conflicts with 2:tog-pegasus-libs-2.12.1-16.el7.x86_64
Error: tog-pegasus-libs conflicts with libcmpiCppImpl0-2.0.3-5.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

when i use --skip-broken ,it installs the liberaries but i want to know the reason for this error.

Also no package name "tog" or "libcmpiCppImpl0" is present on yum client.

For your reference files of my YUM Client

<Yum client># cat /etc/yum.repos.d/rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://<YUM Server>:/pub/dump/Packages_7.1_64bit
gpgcheck=0
skip_if_unavailable = 1
keepcache = 0
enabled=1

[root@ND6MZISTEPDEV1 ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

I am facing this issue in all system except one server.

I did some googling and came to know it is a bug.URL for the same is https://bugzilla.redhat.com/show_bug.cgi?id=1320598.

My question is as follows.

1) why it is working on one systemm and not on rest??
2) how can i install liberaries in this case???

Thanks
UN!Xr0ck$
 
Old 04-26-2017, 11:38 PM   #2
murugesan
Member
 
Registered: May 2003
Posts: 163

Rep: Reputation: 28
@Ankushkalra

Example, assume that I am creating following files after compilation:
executable filename: MurugesanDinesh
32 bit library: libDinesh_3.1.so
After this one client asked me to do the same for 64 bit OS.
Hence I recompiled executable and library using 64 bit compilation.
64 bit library: libDinesh_5.0.so
Hence Using the 64 bit library at 32 bit location host, will report related error.

This can be resolved to use only related libraries at related operating system.

Following comment >> Files are conflicting between 64 and 32 bit packages, how to fix it ?
>> yum update or yum install fails with package conflict between 64 bit and 32 bit package architectures.
>> 32 bit package showing conflict problem with 64 bit package.
taken from
https://access.redhat.com/solutions/158883

Last edited by murugesan; 04-26-2017 at 11:39 PM. Reason: Edited for readability
 
Old 04-27-2017, 06:02 AM   #3
Ankushkalra
Member
 
Registered: Jan 2017
Posts: 48

Original Poster
Rep: Reputation: Disabled
Hi,

I have done that but didnt find any duplicate packages.

Pls suggest
 
Old 04-27-2017, 01:07 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,520

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
Quote:
libcmpiCppImpl0 conflicts with 2:tog-pegasus-libs-2.12.1-16.el7.x86_64
looks like you have a incompatible repo installed and did not set up " yum-priorites"

first step is to find out what one so please post the output of :
Code:
su -

yum repolist all

.
 
Old 04-28-2017, 01:03 AM   #5
Ankushkalra
Member
 
Registered: Jan 2017
Posts: 48

Original Poster
Rep: Reputation: Disabled
Thanks for the reply!!!!

as asked below is output for the same.

# yum repolist all
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id repo name status
rhel-source Red Hat Enterprise Linux 7Server - x86_64 - Source enabled: 4,371
repolist: 4,371
 
Old 04-28-2017, 07:37 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,520

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
well here is your problem
Quote:
This system is not registered to Red Hat Subscription Management.
contact redhat and register and pay for the system

as per the message you could use the tool"subscription-manager" and register this install
 
Old 04-29-2017, 06:43 AM   #7
Ankushkalra
Member
 
Registered: Jan 2017
Posts: 48

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for the reply!!!!

All these servers are not on internet.Also all these systems are within local LAN.We cannot register them as ports are blocked in our organizations.

Kindly suggest some alternative way.
 
Old 04-29-2017, 08:52 AM   #8
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,314
Blog Entries: 13

Rep: Reputation: 4370Reputation: 4370Reputation: 4370Reputation: 4370Reputation: 4370Reputation: 4370Reputation: 4370Reputation: 4370Reputation: 4370Reputation: 4370Reputation: 4370
I feel that RedHat support can help you to download via other means, put those files onto a USB stick or DVD and then help you install them to those servers.
 
1 members found this post helpful.
Old 05-02-2017, 07:46 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,806

Rep: Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973Reputation: 6973
Quote:
Originally Posted by Ankushkalra View Post
Hi,
All these servers are not on internet.Also all these systems are within local LAN.We cannot register them as ports are blocked in our organizations. Kindly suggest some alternative way.
Sorry, but I find this very hard to believe. You've got a corporate LAN with 20 RHEL 7 servers, and NOTHING can touch the Internet at all??? If you've got any decent network admins, you can easily ask them to unblock the ports for one server, and use it as a mirror, or even spin up another server in your DMZ just for that purpose. There are even RHEL articles about it:

https://access.redhat.com/solutions/65300

...along with solutions to use a proxy server (common). Plus, it's one port (443), and three hosts...not a big security risk.
 
Old 05-08-2017, 11:44 PM   #10
murugesan
Member
 
Registered: May 2003
Posts: 163

Rep: Reputation: 28
Including the comment proposed by TB0ne
These kind of errors can be fixed in 2 ways:
1. Follow comment from TB0ne => Less time to spend
2. Download related source using network and compile that program. =>
a. Takes more time to resolve the issue
b. each time the source provider will update the code again and again
hence this will not follow agile methodology.
However most of the operating systems followed this way only.
Decide your preferred ways.

Thank you TB0ne for your comments.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 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 - Software 2 03-30-2010 08:15 AM
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
[SOLVED] Assistance needed to set up RHEL 64-bit as a YUM Proxy server for 32-bit also. xenner Linux - Newbie 7 10-19-2009 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 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