Category Archives: yum
So it turns out I need to spend a little bit more time investigating the available yum plugins for the Redhat centric distros. After a little bit of time banging my head against not finding an update for a package I knew was there (and verifying there was no exclude set in /etc/yum.conf), I finally tripped across a page describing how to set up version locks in yum.
- Install the plugin: yum install yum-versionlock
- Enable it: make sure enabled = 1 appears in /etc/yum/pluginconf.d/versionlock.conf
- Add the packages you want to lock to /etc/yum/pluginconf.d/versionlock.list , including version and architecture. For example: mysql-5.1.52-1.el6_0.1.x86_64. You can also use wildcards, such as: mysql-5.1.52-1.el6_0.1.*
- Test it by trying to update a locked package: yum update mysql
Turns out this is what the client had done and I got to walk away learning something new. Always a good day when that happens.