LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-20-2008, 12:12 AM   #1
sbalvir
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
Unhappy How to add old package using yum from repository


Hi,

Using yum, I am struggling to install lower revision of kernel development RPM - kernel-smp-devel-2.6.9-42.EL.x86_64.rpm but yum is listing only newest RPM i.e. kernel-smp-devel-2.6.9-78.0.8.EL and not letting me install old revision.

Both RPM revisions are available on installserver depository otherwise.

Any help/advice would be much appreciated.

- Balvir
 
Old 11-20-2008, 05:19 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,589

Rep: Reputation: 187Reputation: 187
Try bypassing yum. Download the rpm package with a browser or gFTP. Then install it with the rpm command. See:

man rpm

----------------------
Steve Stites
 
Old 11-21-2008, 12:58 AM   #3
sbalvir
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
Try bypassing yum. Download the rpm package with a browser or gFTP. Then install it with the rpm command. See:

man rpm

----------------------
Steve Stites

Thanks Server for the reply. In fact, I have already done using RPM.

The reason for using yum was to make installation easy as I wanted to eliminate additional step by NOT copying this RPM to each and every production servers.
 
Old 11-21-2008, 02:13 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Look at the createrepo package. This allows you to build a local yum repo. You then redirect all the machines to use the local repo instead of the standard one.
 
Old 11-21-2008, 07:04 AM   #5
drchuck
Member
 
Registered: May 2007
Posts: 61

Rep: Reputation: 17
Kernels are a little different, in that you would not actually be dowwngrading - you can have multiple versions installed in parallel. To see everything in the active repo's, try this:
Code:
yum list --showduplicates kernel
FYI, check the repositories for available extensions to yum. yum-allowdowngrades may be of use to you, but you won't need it for the kernel stuff.
 
  


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
How to add WEB repository in YUM pradeep2002gs Linux - Newbie 5 07-24-2008 07:07 AM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 03:19 PM
YUM: How to install package from a specific repository? Akhran Red Hat 1 04-16-2007 11:04 PM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 11:43 AM
add repository server to yum... ilectrcbob Linux - Newbie 2 04-05-2005 04:26 PM


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