LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to add old package using yum from repository (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-add-old-package-using-yum-from-repository-684786/)

sbalvir 11-19-2008 11:12 PM

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

jailbait 11-20-2008 04:19 PM

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

man rpm

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

sbalvir 11-20-2008 11:58 PM

Quote:

Originally Posted by jailbait (Post 3349150)
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.

lazlow 11-21-2008 01:13 AM

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.

drchuck 11-21-2008 06:04 AM

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.


All times are GMT -5. The time now is 08:13 PM.