F20: Puppet depchain pulls in Java

Stanislav Ochotnicky sochotnicky at redhat.com
Fri Jan 17 23:28:59 UTC 2014


Bill Nottingham <notting at redhat.com> writes:

> Martin Langhoff (martin.langhoff at gmail.com) said:
>> Puppet (the client side, at least) should be installable with
>> relatively thin deps, so it can manage lightweight hosts...
>>
>> I am having trouble disentangling which deps to file a bug against;
>> maybe virt-what ?
>
> You need to make sure your transaction is pulling in classic ruby
> rather than jruby.
>
> # repoquery  -q --whatprovides "ruby(runtime_executable)"
> jruby-0:1.7.2-5.fc20.noarch
> ruby-0:2.0.0.353-16.fc20.i686
> ruby-0:2.0.0.353-16.fc20.x86_64

I am pretty sure this bug is related:
https://bugzilla.redhat.com/show_bug.cgi?id=910093

Yes, filed almost a year ago. Yes there was no single reply except
automated one.

The problem is the resolver. Let's say there are 2 packages:
Package A has "Provides: ruby = 1.9"
Package B has "Provides: ruby = 2.0"

You are installing package C, some dependency has "Requires: ruby" so
the resolver pulls in Package A because it provides that
dependency. Then it goes deeper in the dependency tree and something
else has "Requires: ruby >= 2.0" so the resolver pull in Package B.

Now you have both installed even though only Package B is needed.

--
Stanislav Ochotnicky <sochotnicky at redhat.com>
Software Engineer - Developer Experience

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140118/b0c0637d/attachment-0001.sig>


More information about the devel mailing list