63

When updating with yum i recieve the following message:

yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * atomic: www7.atomicorp.com
 * base: mirror.de.leaseweb.net
 * extras: mirror.de.leaseweb.net
 * updates: mirror.de.leaseweb.net
118 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update

What does that mean ? How to install these packages ?

40

Some packages are held by more than one repository. The priorities plugin choose packages from the highest-priority repository, excluding duplicate entries from other repos.

55

From what I understand, this error is generated from the priorities plugin as noted by Pawel.

In 2009, the maintainer of yum mentioned that he hoped people would not use priorities. To disable the priorities plugin, edit /etc/yum/pluginconf.d/priorities.conf and set enabled = 0. After this change, next time you run yum update, you should not get any priority protections.

  • I signed in just to upvote this. My openssh was not getting updated to the latest version because the priority setting was enabled. This helped me. Thanks! – manish_s May 2 '14 at 12:42
  • 1
    Yes, the 'set enabled = ' worked for me. It would be nice to tease more information from yum - such as the names of the affected packages and the repositories they come from. (Is this a separate question?) – bobgus Oct 28 '14 at 18:36
  • 5
    You can also disable the plugin from yum's command line with this line: --disableplugin=priorities – KJH Sep 14 '15 at 16:23
  • 2
    DO NOT RUN yum erase yum-plugin-priorities. You will lose sudo access and be unable to SSH into your server. – Snowman Dec 1 '18 at 18:56
31

In case you want to know which packages are excluded due to priority protections you can use

yum list updates -d3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.