LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-20-2012, 04:38 AM   #1
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
32 bit vs 64 bit rpms on RHEL


Hey Guys,
I am trying to install a system with RHEL6 x86_64.The requirement is that the system should have all the functionalities of 32bit RHEL.The 64bit rpms are installed via a ks.cfg which i cannot touch.Therefore i install i686 rpms at a later stage.I mount a repo.. I drop all the rpms which I am sure are there into a list and install them via yum.It all goes successfull but afterwards when i do a rpm -qa | grep 686 i get around 20 rpms.I specified over 400 packages.Are they installed ? How does rpm -qa treat the 686 rpms? is it supposed to display them
 
Old 03-20-2012, 04:56 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
the default format of "rpm -qa" doesn't include the architecture, you'd need to use a --queryformat string with the %{ARCH} value in it to see that AFAIR.

But why does "all the functionalities" mean "have all the 32bit files present"?
 
Old 03-20-2012, 05:05 AM   #3
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
Yes it does.
It gives me


libglade2-2.6.4-3.1.el6.x86_64
openswan-2.6.32-4.el6_1.1.x86_64
deltarpm-3.5-0.5.20090913git.el6.x86_64
foomatic-4.0.4-1.el6.x86_64
logrotate-3.7.8-12.el6_0.1.x86_64
udev-147-2.35.el6.x86_64
udftools-1.0.0b3-12.el6.x86_64
m17n-db-1.5.5-1.1.el6.noarch
log4j-1.2.14-6.4.el6.x86_64
watchdog-5.5-10.el6.x86_64
svrcore-4.0.4-5.1.el6.x86_64
 
Old 03-20-2012, 05:11 AM   #4
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
I thought that if you want to be able to run 32bit apps you must have the
all the 32bit rpms present and showing under rpm -qa.
How can i check what 686 rpms i have installed then ?
rpm -qa --qf also doesnt show me 686 rpms.
 
Old 03-20-2012, 05:26 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Hmm, ok, maybe I'm thinking of somethign a little different. they would definitely be visible in some form though. so it looks like they didn't install. what did yum say about their installation?

if you have 32bit apps to run then yes, there's a certain amount of additional i686 packages required, but not all of the by any means. Often you'd just start with basics like glibc and let yum sort the rest of the libs out.

if your other apps are not rpm based though, it certainly is a little trickier.
 
Old 03-20-2012, 08:12 AM   #6
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
I found where the problem is.
I am getting a conflict between pyton and python-devel so my rpms really dont get installed.I have everything pretty much automated so this is why i am just finding out about this.Seems to be a common bug with RHEL6.
Does anyone have a suggestion?

Processing Conflict: python-devel-2.6.6-20.el6.x86_64 conflicts python < 2.6.6-20.el6
 
Old 03-20-2012, 08:38 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
The easiest solution is probably to not install python-devel, a production server should not need that.
 
Old 03-20-2012, 10:47 AM   #8
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by dann_radkov View Post
I thought that if you want to be able to run 32bit apps you must have the
all the 32bit rpms present and showing under rpm -qa.
How can i check what 686 rpms i have installed then ?
rpm -qa --qf also doesnt show me 686 rpms.
this will show you all the 32 bit rpms with i686 architecture, till RHEL 5 this feature was not there but in RHEL 6 simply using rpm command shows you the architecture of package
Code:
#rpm -qa | grep i686
I am not very sure about this error
Code:
Processing Conflict: python-devel-2.6.6-20.el6.x86_64 conflicts python < 2.6.6-20.el6
Can you tell me what are you trying to do and using yum from a common mirror should not give any such issue unless you are using the packages from some other source and manually trying to install any package or you already have done the same so this is the reason while using yum you are having this conflict.
 
Old 03-21-2012, 03:44 AM   #9
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
Is there a log file that I can check to see what particular package requires this python-devel rpm. I have not specified python-devel anywhere.I have a 3-400 rpm list.Something must ask for python-devel.Where to look for? I can start doing whatrequires on all rpms that I have in this list.
 
Old 03-21-2012, 04:10 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
just try to remove it and you'll be told why not.
 
Old 03-21-2012, 04:13 AM   #11
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
Can you print, yum --repolist & yum list python*

Also you can check the python package through a file as,

which python
--> /usr/bin/python

rpm -qf /usr/bin/python
--> python-2.4.3-27.el5
 
Old 03-21-2012, 04:48 AM   #12
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Original Poster
Rep: Reputation: Disabled
Yep I already tried.Here`s what comes up next
Error: Protected multilib versions: python-libs-2.6.5-3.el6_0.2.i686 != python-libs-2.6.6-20.el6.x86_64
Error: Protected multilib versions: python-2.6.5-3.el6_0.2.i686 != python-2.6.6-20.el6.x86_64

So my list of RMS asks the box to try install the 32bit versions of those rpms. I want to skip that but I dont know what solves these issues.
" You could try using --skip-broken to work around the problem"
Can I fire up #yum install from a file ? For example a file that I specified all my rpms in ?
Then I can try --skip-broken.
 
Old 03-21-2012, 04:53 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you need to keep the version numbers the same. wherever you are getting the i686 packages from you should have access to the equivalent x86_64 ones.

This still all feels like a pretty weird thing to be doing though...
 
Old 03-21-2012, 05:51 AM   #14
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
You have to remove the conflict packages to install the 64 bit packages & also they are older version (2.6.5) as compared to newer version (2.6.6) as,

rpm -e python-2.6.5-3.el6_0.2.i686 python-libs-2.6.5-3.el6_0.2.i686
 
  


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
[SOLVED] Installing 32 bit RPMs on 64 bit Linux conflicts with 64 bit packages gheibia Linux - Server 1 08-18-2011 02:33 AM
64 bit JVM crash on RHEL 5.5 64 bit ( JRE 1.6 update 23 ) - strace attached bangarrajuv Red Hat 1 07-14-2011 11:00 AM
[SOLVED] Installing 32 and 64 bit JDK rpms on a 64bit RHEL 5.5 server sandricky Linux - Software 2 11-16-2010 02:19 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 09:50 PM
Unable to boot to RHEL 4 32 bit after installing RHEL 64 - bit raj_ksrt Linux - Software 1 04-27-2009 10:44 AM


All times are GMT -5. The time now is 07:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration