[Yum] Depending on an older package breaks yum update

Jonathan Lynch jlynch at tenable.com
Thu Feb 15 20:52:42 UTC 2018


Hi all,

(I tried to post a trac ticket but got a permissions issue...)

Basically, if I have package foo that requires package bar version 1, and
version 2 is available in the repository, I would expect yum's dependency
resolution to simply hold bar back at version 1. What happens instead is
when I try to run a yum update, yum finds the newer version of bar,
realizes that it will break foo's requirement, and gives up (suggesting I
re-run with --skip-broken).

It's possible to work around this by installing the versionlock plugin and
using that to blacklist newer versions of bar, but I feel like yum should
just resolve the dependency tree.

(I can give reproduction steps if needed but I don't want to spam the list.)

Thank you,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20180215/70135ea6/attachment.html>


More information about the Yum mailing list