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 |
Try bypassing yum. Download the rpm package with a browser or gFTP. Then install it with the rpm command. See:
man rpm ---------------------- Steve Stites |
Quote:
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. |
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.
|
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 |
All times are GMT -5. The time now is 08:13 PM. |