Depending on an older package breaks yum update
Jonathan Lynch <[email protected]> Thu, 15 Feb 2018 15:52:42 -0500
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <CADKJ5OPduHUUBfhiZ6kSb2kDMaKS1OqWeE55u7DqqurvQGnSoQ@mail.gmail.com> |
--===============0990477838692601691== Content-Type: multipart/alternative; boundary="94eb2c1c0bdac966c3056546687e" --94eb2c1c0bdac966c3056546687e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 --94eb2c1c0bdac966c3056546687e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi all,<div><br></div><div>(I tried to post a trac ticket = but got a permissions issue...)</div><div><br></div><div>Basically, if I ha= ve package foo that requires package bar version 1, and version 2 is availa= ble in the repository, I would expect yum's dependency resolution to si= mply 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 bre= ak foo's requirement, and gives up (suggesting I re-run with --skip-bro= ken).</div><div><br></div><div>It's possible to work around this by ins= talling the versionlock plugin and using that to blacklist newer versions o= f bar, but I feel like yum should just resolve the dependency tree.</div><d= iv><br></div><div>(I can give reproduction steps if needed but I don't = want to spam the list.)</div><div><br></div><div>Thank you,</div><div>Jonat= han</div></div> --94eb2c1c0bdac966c3056546687e-- --===============0990477838692601691== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Yum mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum --===============0990477838692601691==--