Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two web servers, a production web server and a backup web server.

After running a rpm -qa on the two servers, I noticed some package discrepancies.

It seems like, someone ran a yum update at some point in the past on the production server, but did not run it on the backup web server.

I would like to install a few very specific packages on the backup web server.

for example : yum install bind-libs-9.8.2-0.17.rc1.el6_4.5.x86_64

If I run yum install bind-libs-9.8.2-0.17.rc1.el6_4.5.x86_64 it seems to try and find the newest package that matches, and not the specific package I would like.

---> Package bind-utils.x86_64 32:9.8.2-0.17.rc1.el6_4.4 will be updated
---> Package bind-utils.x86_64 32:9.8.2-0.17.rc1.el6_4.6 will be an update
 Package           Arch          Version                          Repository      Size
Updating for dependencies:
 bind-libs         x86_64        32:9.8.2-0.17.rc1.el6_4.6        updates        878 k

Is there a way to install only the package I would like and nothing newer?

share|improve this question
up vote 3 down vote accepted

Another thing you can do which can be a bit more work than previous answer but works as well is to download the package manually and then run

# yum localinstall /path/package.rpm

That should try to install the specific package you downloaded.

share|improve this answer
I was also thinking about manual install, but how would I get the rpm in question? I am not sure how to find a specific rpm with just the information i have. – son_of_fire Oct 15 '13 at 12:52
Here you go:… – Tomas Oct 15 '13 at 12:56 is a useful resource for finding RPMs of various versions from various distributions. – Ruairi Oct 15 '13 at 13:00
True. I like to go straight to the distro though but yes, that site is really useful as well :) – Tomas Oct 15 '13 at 13:29
I picked your answer because of your help with the mirror and the details about yum. I just appended .rpm to my corresponding packages and downloaded them all with wget (quick bash script). thanks! – son_of_fire Oct 15 '13 at 14:48

I believe the following will do what you want, as by default yum won't let you install a release BELOW what's available:

yum install yum-versionlock

and then:

yum --allow-downgrade install bind-libs-9.8.2-0.17.rc1.el6_4.5.x86_64

and to maintain this version in the case of future package updates to your system:

yum versionlock bind-libs

share|improve this answer
I will try this one out. thank you. – son_of_fire Oct 15 '13 at 12:51
You're welcome. Do let us know how it goes. – Ruairi Oct 15 '13 at 12:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.