Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

For certain reasons I have to keep a slightly older version of a particular RPM installed on my box (Fedora 11). The problem is that every time I do a package update yum (or one of its GUI equivalents) wants to update this RPM to the latest version, which is annoying - especially when I update it by mistake.

Is there a way to 'pin' this version so that yum knows to never try and update it?

share|improve this question
add comment

1 Answer

up vote 7 down vote accepted

In /etc/yum.conf add something like:

[main]
exclude = yourpackage

See man 5 yum.conf for more info.

share|improve this answer
add comment

Your Answer

 
discard

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.