LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-28-2013, 01:08 AM   #1
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Rep: Reputation: Disabled
32 bit packages on 64 bit arch.


Hi,
by mistake i upgraded httpd version to 64bit and previously 32bit was installed , in 32 bit we get one module "/usr/lib/httpd/modules/mod_authz_host.so" but in 64 bit the same module is under "/usr/lib64/httpd/modules/mod_authz_host.so". now i want to uninstall 64bit version and install 32bit version.

what are the precautions that i should do before degrading it?
how to degrade it?
 
Old 11-28-2013, 01:54 AM   #2
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 121

Rep: Reputation: 20
Hi,

Just out of curiosity, but why do you want to use the 32bit version in the first place? Judging from your post the 64bit version seems to work as well.

Having said that, I assume you have a good reason for it, so....
1. Make sure you have a proper backup, in case things go wrong.
2. Uninstall the 64bit packages
3. Reinsstall the 32 bit packages.

I maybe could have given more details on step 2 and 3 if you'd specified what distribution you're using.
 
Old 11-28-2013, 01:58 AM   #3
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lpwevers View Post
Hi,

Just out of curiosity, but why do you want to use the 32bit version in the first place? Judging from your post the 64bit version seems to work as well.

Having said that, I assume you have a good reason for it, so....
1. Make sure you have a proper backup, in case things go wrong.
2. Uninstall the 64bit packages
3. Reinsstall the 32 bit packages.

I maybe could have given more details on step 2 and 3 if you'd specified what distribution you're using.
sorry i did not specify distro.
i am using centos6 x86_64. Reason for this is that 389-ds is working on that machine and it requires a module from http 32bit, which i mentioned in my previous post. could you plz guide me how to install 32 bit version of httpd.
 
Old 11-28-2013, 03:52 AM   #4
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 121

Rep: Reputation: 20
Quote:
Originally Posted by sachin.davra View Post
sorry i did not specify distro.
i am using centos6 x86_64. Reason for this is that 389-ds is working on that machine and it requires a module from http 32bit, which i mentioned in my previous post. could you plz guide me how to install 32 bit version of httpd.
Sorry, missed the reason, guess it was still too early in the morning

Anyway, since you're using Centos6 I guess something like:
Code:
yum reinstall httpd.i686
should do the trick.
 
Old 11-28-2013, 04:02 AM   #5
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lpwevers View Post
Sorry, missed the reason, guess it was still too early in the morning

Anyway, since you're using Centos6 I guess something like:
Code:
yum reinstall httpd.i686
should do the trick.
trick given above is not working.throwing below given error.
No matches found for: httpd.i686
No Matches found
 
Old 11-28-2013, 05:41 AM   #6
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 121

Rep: Reputation: 20
Quote:
Originally Posted by sachin.davra View Post
trick given above is not working.throwing below given error.
No matches found for: httpd.i686
No Matches found
Hmmm, in that case you'll need to add an i686 repository. In /etc/yum.repos.d create a file called CentOS-i686.repo with the following content:
Code:
[i686]
name=CentOS-$releasever - i686
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=i386&repo=os
gpgcheck=1
And then you'll have to uninstall the current version first (including stuff that comes with it like httpd-tools). And then use
Code:
yum install httpd.i686
to install the 32 bit version of httpd.
 
Old 11-28-2013, 05:54 AM   #7
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
rpm can also be used in CentOS-6 :

remove package - rpm -e <packagename>
install package - rpm -ivh <packagename>

e.g.: rpm -ivh httpd-2.2.3-6.xxx
 
Old 11-28-2013, 06:06 AM   #8
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kapilbajpai88 View Post
rpm can also be used in CentOS-6 :

remove package - rpm -e <packagename>
install package - rpm -ivh <packagename>

e.g.: rpm -ivh httpd-2.2.3-6.xxx
Thnx but it has some dependencies which can be installed using yum easily.
that's why i wanna do it using yum.
 
  


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
Problem building 32-bit and 64-bit packages Woodsman Slackware 5 09-26-2012 06:44 AM
How to use 32 bit C libraries on 64 bit Arch Linux MTK358 Programming 23 09-22-2011 02:19 AM
[SOLVED] Installing 32 bit RPMs on 64 bit Linux conflicts with 64 bit packages gheibia Linux - Server 1 08-18-2011 02:33 AM
32-bit Packages and 64-Bit Packages with Included Multilib on One SlackBuild foodown Slackware 1 03-11-2011 09:40 PM
32 bit packages installed in 64 bit system mewto Linux - Newbie 5 03-09-2010 07:42 PM


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