[Yum] conflicts between explicit and implicit Requires: in a group of packages

Brian J. Murrell brian at interlinx.bc.ca
Wed Oct 9 19:29:35 UTC 2019


Hi,

I have a situation which I'm trying to understand the nature of and if
there is any resolution.

Let's say I have two versions of a package named widgit in a repo,
widgit-1.0.0 and widgit-1.3.0.  They both provide libwidgit.so.1().

Then let's say I have a package foo which Requires: widgit = 1.0.0 and
also Requires: bar.  bar Requires libwidgit.so.1() and is also in the
repo.

If I try to install foo, yum seems unable to reconcile that widgit-
1.0.0 satisfies both foo and bar and instead seems to want to try to
install widgit-1.3.0, I assume to satisfy bar's Requires:
libwidgit.so.1() (without consideration of foo's constraint) which of
course conflicts with foo's Requires: widgit = 1.0.0.

I note that dnf seems smart enough to figure this all out though.  Is
this just a limitation of yum that I am not going to be able to get
past?

Cheers,
b.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20191009/8589b064/attachment.asc>


More information about the Yum mailing list