How to: Yum Priorities – CentOS 5



The Yum Priorities plugin can be used to enforce ordered protection of repositories, by associating priorities to repositories. Visit the Yum Priorities CentOS Wiki for more information.
Install Yum Priorities

1. Run the Yum Priorities install command
yum install yum-priorities

Configure Yum Priorities

1. Open the Yum Priorities configuration file
/etc/yum/pluginconf.d/priorities.conf
1. Ensure the following lines exist
[main]
enabled=1
2. Save and close the file
2. Open the CentOS base repository configuration file
/etc/yum.repos.d/CentOS-Base.repo
1. Add the following text to the end of the Base, Updates, Addons, and Extras repository entries*
priority=1
2. Add the following text to the end of the CentOSPlus repository entry*
priority=2

* A repository entry is specified with the repository name placed between [ and ] (i.e. the base repository entry is specified with [base]).

Post to Twitter

Tags: , , , ,

Subscribe to RSS via Email:

Subscribe with Updated Linux and get updates frequently in your inbox

3 Responses to How to: Yum Priorities – CentOS 5

  1. Crosswhite185 says:

    Good piece of details that you’ve obtained on this web site submit. Hope I might get some a lot more of the stuff in your website. I will occur again.

Trackbacks/Pingbacks


    Warning: call_user_func(theme_list_pings) [function.call-user-func]: First argument is expected to be a valid callback in /home/updatedlinux/updatedlinux/wp-includes/comment-template.php on line 1334

    Warning: call_user_func(theme_list_pings) [function.call-user-func]: First argument is expected to be a valid callback in /home/updatedlinux/updatedlinux/wp-includes/comment-template.php on line 1334

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>