Jaime Frutos Morales's blog


How to lock a RPM package installed on Red Hat 5

Filed under: Linux, SysAdmin — acidborg @ 13:17

Description: if you have a RPM package installed and you want to lock its version (you don’t want to update it even if a newer version is available), there is a yum plugin which can do this for you: yum-versionlock


  1. Install the plugin: yum install yum-versionlock
  2. Enable it: make sure enabled = 1 appears in /etc/yum/pluginconf.d/versionlock.conf
  3. Add the packages you want to lock to /etc/yum/pluginconf.d/versionlock.list , including version and architecture. For example: nagios-plugins-1.4.11-1.el5.rf.x86_64
  4. Test it by trying to update a locked package: yum update nagios-plugins


  1. This is really great blog, I’ve added that into my RSS reader. Thanks.

    Comment by Bernard Welch — 13/06/2010 @ 20:22

  2. Very interesting. It’s a wonderful blog (I learn a lot).

    Good Luck.


    Comment by Würst — 22/06/2010 @ 12:51

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Blog at WordPress.com.

%d bloggers like this: