83

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 ?

3 Answers 3

51

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.

79

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.

5
  • 1
    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! May 2, 2014 at 12:42
  • 2
    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, 2014 at 18:36
  • 14
    You can also disable the plugin from yum's command line with this line: --disableplugin=priorities
    – KJH
    Sep 14, 2015 at 16:23
  • 7
    DO NOT RUN yum erase yum-plugin-priorities. You will lose sudo access and be unable to SSH into your server.
    – Snowman
    Dec 1, 2018 at 18:56
  • 1
    Is it a best practice to disable priorities then?
    – Ian Smith
    May 19, 2021 at 1:44
53

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

yum list updates --debuglevel 3
3
  • What does -d3 do exactly? Jun 23, 2022 at 15:03
  • -d3 increases the debuglevel so that yum list updates shows excluded packages.
    – teissler
    Jun 24, 2022 at 13:41
  • -d [debug level], --debuglevel=[debug level] - I updated the answer to use the long option to be self-documenting Mar 31, 2023 at 2:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .