Koozali.org formerly Contribs.org

Packages excluded due to repository priority protections

Packages excluded due to repository priority protections
« on: March 20, 2020, 06:57:48 PM »
While attempting to install something with yum, I got this message:

375 packages excluded due to repository priority protections

A quick Google found an answer at https://serverfault.com/questions/312472/what-does-that-mean-packages-excluded-due-to-repository-priority-protections. The second answer, with the most upvotes, had the most relevant information:

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.

Assuming the initial statement is correct, is there a reason why priorities are enabled?

I installed SME Server 10.0 Alpha 4 on a VM for testing purposes, so I am not worried about any damage disabling this might do, but I am concerned that if someday we use this in a production environment, it might be a concern.

Offline ReetP

  • *
  • 2,581
Re: Packages excluded due to repository priority protections
« Reply #1 on: March 20, 2020, 10:01:04 PM »
It is an Alpha. Serious breakage is expected :-) Thank you for testing. We need every pair of hands we can get.

Don't mess with the yum configs - they are probably set for a reason, namely to prevent you destroying your system!

If you want to help test and work through this then come and talk to us on Rocket - there are a few of us actively working on this and we can help. It is just quicker and easier for this sort of thing over there.

Just PM me (I have sent you one)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 1,490
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Packages excluded due to repository priority protections
« Reply #2 on: March 22, 2020, 04:29:26 AM »
priority has been enabled as to allow people to add as many repo as they want but preventing them to override provided packages by the core.

we can see some repo with newer version of a package or altered version. which could be great for few, but will create headache for plenty including the one trying to help here.

as you mentioned you can still disable this if your really know what you want to do.