-->
Avoid Parcel Conflicts Amongst Yum Priorities

Avoid Parcel Conflicts Amongst Yum Priorities

Avoid Parcel Conflicts Amongst Yum Priorities

Its ever best to install packages from the vendor's master copy repositories earlier installing from 3rd political party repositories similar RPMForge. Installing from unlike repositories tin mail away number inwards packet conflicts betwixt RPMForge in addition to CentOS Updates repository. To avoid this, nosotros should role the “yum-priorities” plugin.

The Yum Priorities plugin tin mail away endure used to enforce ordered protection of repositories, yesteryear associating priorities to repositories. Visit the Yum Priorities CentOS Wiki for to a greater extent than 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 that it is enabled. Check if the next lines exists:
      [main]
       enabled=1
    2. Save in addition to unopen the file
  2. With the plugin enabled, you lot add together priorities to repositories yesteryear adding the trouble priority=N to a repository entry, where north is an integer from i to 99. The default priority for repositories is 99. The repositories amongst the lowest numerical priority number convey the highest priority. Open the CentOS base of operations repository configuration file
    /etc/yum.repos.d/CentOS-Base.repo
    1. Usually, it is best to hand at to the lowest degree the CentOS repositories a really high priority(1). Add the next text to the terminate of the Base, Updates, Addons, in addition to Extras repository entries:
      priority=1
    2. Add the next text to the terminate of the CentOSPlus repository entry*
      priority=2
      Its ever best to install packages from the vendor Avoid Package Conflicts amongst Yum PrioritiesNote
      A repository entry is specified amongst the repository refer placed betwixt [ in addition to ] (e.g. the base of operations repository entry is specified amongst [base]).

Blogger
Disqus
Pilih Sistem Komentar

No comments

Advertiser