Re: F20: Puppet depchain pulls in Java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill Nottingham <notting@xxxxxxxxxx> writes:

> Martin Langhoff (martin.langhoff@xxxxxxxxx) 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@xxxxxxxxxx>
Software Engineer - Developer Experience

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com

Attachment: pgpNe36cgreMc.pgp
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux