LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-17-2010, 08:51 AM   #1
BlackCrowe
Member
 
Registered: Aug 2010
Posts: 41

Rep: Reputation: 0
install older package using rpm


I had upgraded from Samba to Samba 3x awhile ago. Which I found out that I didn't need to do because I have to update now 9 large patch releases which I have to install in order. Starting with the first one and I'm having Samba dependencies problems now. The patch releases to install are older than what's currently installed. Hopefully, once I get the conflicts resolved the rest should fall in line.

The packages trying to install are,

Samba-3.0.33-3.15.el5_4.1.x86_64.rpm
Samba-client-3.0.33-3.15.el5_4.1.x86_64.rpm
Samba-common-3.0.33-3.15.el5_4.1.x86_64.rpm

What I'm getting is after running the install script,

Samba conflicts with Samba3x-common-3.3.8-0.51.el5.x86_64
Samba-client conflicts with Samba3x-common-3.3.8-0.51.el5.x86_64
Samba-common < 0:3.1 conflicts with Samba3x-common-3.3.8-0.51.el5.x86_64
Samba-common < 0:3.1 conflicts with Samba3x-winbind-3.3.8-0.51.el5.x86_64

Please help.

Last edited by BlackCrowe; 11-17-2010 at 08:52 AM. Reason: typo
 
Old 11-17-2010, 10:43 AM   #2
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Rep: Reputation: 6
You can install them with no dependencies.

--nodeps
-- Don't do a dependency check before installing or upgrading a package.

rpm --nodeps package-to-install
 
Old 11-17-2010, 12:22 PM   #3
BlackCrowe
Member
 
Registered: Aug 2010
Posts: 41

Original Poster
Rep: Reputation: 0
Should that work even if I want to install an older package over a more recent one?

I tried doing it with --oldpackage but I might not have had the syntax correct. I wasn't sure where --oldpackage went in the command.
 
Old 11-17-2010, 01:10 PM   #4
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Rep: Reputation: 6
If you are going to try it this way did you try this:

rpm -Uv --oldpackage package_name

Have you tried to remove the newest samba package?

rpm -e software_name
 
Old 11-18-2010, 05:45 AM   #5
BlackCrowe
Member
 
Registered: Aug 2010
Posts: 41

Original Poster
Rep: Reputation: 0
I did try to remove the newest Samba packages using the commands you mentioned. I was able to remove samba and samba-client but couldnt' remove samba-common and samba-winbind because of dependencies. I also tried updating using the --oldpackage but was running into the dependencies issue again.

After pulling my hair out what I finally did was go through the add/remove software-package manager and remove samba-common and samba-winbind that way. It removed them and took care of the dependency problem.

I think it was easier for me to just blow away samba and just start from scratch.

I ran the patch releases I was originaly trying to accomplish, the samba problems are gone except for a new one which is file /usr/lib64/libsmbclient.so.0 from install of samba-common-3.0.33-3.15.el5_4.1.x86_64 conflicts with libsmbclient-3.0.33-3.28.el5.x86_64 (which is now installed).
So I think here what I need to do here is go back to an earlier version of libsmbclient package?

Also issue with xulrunner (Mozilla?)
File /usr/bin/xulrunner from install of xulrunner-1.9.0.16-2.el5_4.x86_64 conflicts with file from package xulrunner-1.9.0.16-2.el5_4..i386
File /usr/bin/xulrunner from install of xulrunner-1.9.0.16-2.el5_4.i386 conflicts with file from package xulrunner-1.9.0.16-2.el5_4.x86_64

Anyway, thanks for your input. If you have any ideas that be helpful.
 
  


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
Install an older version of a package using apt-get asookazian Linux - Newbie 1 03-28-2010 04:25 AM
rpm package install - RealPlayer10GOLD.rpm tslinux Linux - Newbie 7 09-08-2007 09:28 PM
install older kernel package not contained in repository kpachopoulos Debian 1 05-02-2006 09:52 PM
how to install an older version of a package... haora Linux - Newbie 1 05-27-2005 09:48 AM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM

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

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