F20: Puppet depchain pulls in Java

Martin Langhoff martin.langhoff at gmail.com
Fri Jan 17 22:25:22 UTC 2014


On Fri, Jan 17, 2014 at 5:07 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> 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 ?

Alright, I think I know what's happening: yum resolves the dep on ruby
by installing jruby AND ruby-mri

If I do yum install ruby ; yum install puppet, then things make sense. See

[martin at tp-martin puppet-rlgold.git]$ sudo yum install ruby
Loaded plugins: etckeeper, langpacks, refresh-packagekit
Repository 'spotify' is missing name in configuration, using id
Resolving Dependencies
--> Running transaction check
---> Package ruby.x86_64 0:2.0.0.353-16.fc20 will be installed
--> Processing Dependency: ruby-libs(x86-64) = 2.0.0.353-16.fc20 for
package: ruby-2.0.0.353-16.fc20.x86_64
--> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package:
ruby-2.0.0.353-16.fc20.x86_64
--> Processing Dependency: ruby(rubygems) >= 2.0.3 for package:
ruby-2.0.0.353-16.fc20.x86_64
--> Processing Dependency: /usr/bin/ruby for package:
ruby-2.0.0.353-16.fc20.x86_64
--> Processing Dependency: libruby.so.2.0()(64bit) for package:
ruby-2.0.0.353-16.fc20.x86_64
--> Running transaction check
---> Package ruby-libs.x86_64 0:2.0.0.353-16.fc20 will be installed
---> Package rubygem-bigdecimal.x86_64 0:1.2.0-16.fc20 will be installed
---> Package rubygems.noarch 0:2.1.11-115.fc20 will be installed
--> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package:
rubygems-2.1.11-115.fc20.noarch
--> Processing Dependency: rubygem(psych) >= 2.0.0 for package:
rubygems-2.1.11-115.fc20.noarch
--> Processing Dependency: rubygem(io-console) >= 0.4.1 for package:
rubygems-2.1.11-115.fc20.noarch
---> Package rubypick.noarch 0:1.1.0-2.fc20 will be installed
--> Running transaction check
---> Package rubygem-io-console.x86_64 0:0.4.2-16.fc20 will be installed
---> Package rubygem-psych.x86_64 0:2.0.0-16.fc20 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package:
rubygem-psych-2.0.0-16.fc20.x86_64
---> Package rubygem-rdoc.noarch 0:4.0.1-2.fc20 will be installed
--> Processing Dependency: rubygem(json) < 2 for package:
rubygem-rdoc-4.0.1-2.fc20.noarch
--> Processing Dependency: rubygem(json) >= 1.4 for package:
rubygem-rdoc-4.0.1-2.fc20.noarch
--> Processing Dependency: ruby(irb) for package:
rubygem-rdoc-4.0.1-2.fc20.noarch
--> Running transaction check
---> Package libyaml.x86_64 0:0.1.4-5.fc20 will be installed
---> Package ruby-irb.noarch 0:2.0.0.353-16.fc20 will be installed
---> Package rubygem-json.x86_64 0:1.7.7-101.fc20 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================
 Package                                  Arch
Version                                 Repository
Size
===================================================================================================================================================
Installing:
 ruby                                     x86_64
2.0.0.353-16.fc20                       updates
65 k
Installing for dependencies:
 libyaml                                  x86_64
0.1.4-5.fc20                            fedora
54 k
 ruby-irb                                 noarch
2.0.0.353-16.fc20                       updates
86 k
 ruby-libs                                x86_64
2.0.0.353-16.fc20                       updates
2.8 M
 rubygem-bigdecimal                       x86_64
1.2.0-16.fc20                           updates
77 k
 rubygem-io-console                       x86_64
0.4.2-16.fc20                           updates
48 k
 rubygem-json                             x86_64
1.7.7-101.fc20                          fedora
60 k
 rubygem-psych                            x86_64
2.0.0-16.fc20                           updates
75 k
 rubygem-rdoc                             noarch
4.0.1-2.fc20                            fedora
288 k
 rubygems                                 noarch
2.1.11-115.fc20                         updates
224 k
 rubypick                                 noarch
1.1.0-2.fc20                            fedora
6.3 k
Transaction Summary
===================================================================================================================================================
Install  1 Package (+10 Dependent packages)
Total download size: 3.7 M
Installed size: 13 M
Is this ok [y/d/N]:
Exiting on user command
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2014-01-17.17-21.bbvkRY.yumtx
[martin at tp-martin puppet-rlgold.git]$ sudo yum install ruby
Loaded plugins: etckeeper, langpacks, refresh-packagekit
Repository 'spotify' is missing name in configuration, using id
Resolving Dependencies
--> Running transaction check
---> Package ruby.x86_64 0:2.0.0.353-16.fc20 will be installed
--> Processing Dependency: ruby-libs(x86-64) = 2.0.0.353-16.fc20 for
package: ruby-2.0.0.353-16.fc20.x86_64
--> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package:
ruby-2.0.0.353-16.fc20.x86_64
--> Processing Dependency: ruby(rubygems) >= 2.0.3 for package:
ruby-2.0.0.353-16.fc20.x86_64
--> Processing Dependency: /usr/bin/ruby for package:
ruby-2.0.0.353-16.fc20.x86_64
--> Processing Dependency: libruby.so.2.0()(64bit) for package:
ruby-2.0.0.353-16.fc20.x86_64
--> Running transaction check
---> Package ruby-libs.x86_64 0:2.0.0.353-16.fc20 will be installed
---> Package rubygem-bigdecimal.x86_64 0:1.2.0-16.fc20 will be installed
---> Package rubygems.noarch 0:2.1.11-115.fc20 will be installed
--> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package:
rubygems-2.1.11-115.fc20.noarch
--> Processing Dependency: rubygem(psych) >= 2.0.0 for package:
rubygems-2.1.11-115.fc20.noarch
--> Processing Dependency: rubygem(io-console) >= 0.4.1 for package:
rubygems-2.1.11-115.fc20.noarch
---> Package rubypick.noarch 0:1.1.0-2.fc20 will be installed
--> Running transaction check
---> Package rubygem-io-console.x86_64 0:0.4.2-16.fc20 will be installed
---> Package rubygem-psych.x86_64 0:2.0.0-16.fc20 will be installed
--> Processing Dependency: libyaml-0.so.2()(64bit) for package:
rubygem-psych-2.0.0-16.fc20.x86_64
---> Package rubygem-rdoc.noarch 0:4.0.1-2.fc20 will be installed
--> Processing Dependency: rubygem(json) < 2 for package:
rubygem-rdoc-4.0.1-2.fc20.noarch
--> Processing Dependency: rubygem(json) >= 1.4 for package:
rubygem-rdoc-4.0.1-2.fc20.noarch
--> Processing Dependency: ruby(irb) for package:
rubygem-rdoc-4.0.1-2.fc20.noarch
--> Running transaction check
---> Package libyaml.x86_64 0:0.1.4-5.fc20 will be installed
---> Package ruby-irb.noarch 0:2.0.0.353-16.fc20 will be installed
---> Package rubygem-json.x86_64 0:1.7.7-101.fc20 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================
 Package                                  Arch
Version                                 Repository
Size
===================================================================================================================================================
Installing:
 ruby                                     x86_64
2.0.0.353-16.fc20                       updates
65 k
Installing for dependencies:
 libyaml                                  x86_64
0.1.4-5.fc20                            fedora
54 k
 ruby-irb                                 noarch
2.0.0.353-16.fc20                       updates
86 k
 ruby-libs                                x86_64
2.0.0.353-16.fc20                       updates
2.8 M
 rubygem-bigdecimal                       x86_64
1.2.0-16.fc20                           updates
77 k
 rubygem-io-console                       x86_64
0.4.2-16.fc20                           updates
48 k
 rubygem-json                             x86_64
1.7.7-101.fc20                          fedora
60 k
 rubygem-psych                            x86_64
2.0.0-16.fc20                           updates
75 k
 rubygem-rdoc                             noarch
4.0.1-2.fc20                            fedora
288 k
 rubygems                                 noarch
2.1.11-115.fc20                         updates
224 k
 rubypick                                 noarch
1.1.0-2.fc20                            fedora
6.3 k
Transaction Summary
===================================================================================================================================================
Install  1 Package (+10 Dependent packages)
Total download size: 3.7 M
Installed size: 13 M
Is this ok [y/d/N]: y
Downloading packages:
(1/11): ruby-2.0.0.353-16.fc20.x86_64.rpm
                                                     |  65 kB
00:00:00
(2/11): ruby-irb-2.0.0.353-16.fc20.noarch.rpm
                                                     |  86 kB
00:00:00
(3/11): libyaml-0.1.4-5.fc20.x86_64.rpm
                                                     |  54 kB
00:00:00
(4/11): ruby-libs-2.0.0.353-16.fc20.x86_64.rpm
                                                     | 2.8 MB
00:00:12
(5/11): rubygem-io-console-0.4.2-16.fc20.x86_64.rpm
                                                     |  48 kB
00:00:00
(6/11): rubygem-json-1.7.7-101.fc20.x86_64.rpm
                                                     |  60 kB
00:00:00
(7/11): rubygem-bigdecimal-1.2.0-16.fc20.x86_64.rpm
                                                     |  77 kB
00:00:00
(8/11): rubygem-psych-2.0.0-16.fc20.x86_64.rpm
                                                     |  75 kB
00:00:00
(9/11): rubygems-2.1.11-115.fc20.noarch.rpm
                                                     | 224 kB
00:00:00
(10/11): rubygem-rdoc-4.0.1-2.fc20.noarch.rpm
                                                     | 288 kB
00:00:00
(11/11): rubypick-1.1.0-2.fc20.noarch.rpm
                                                     | 6.3 kB
00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------
Total
                                            287 kB/s | 3.7 MB
00:00:13
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
etckeeper: pre transaction commit
  Installing : ruby-libs-2.0.0.353-16.fc20.x86_64

1/11
  Installing : libyaml-0.1.4-5.fc20.x86_64

2/11
  Installing : rubygem-io-console-0.4.2-16.fc20.x86_64

3/11
  Installing : rubygem-bigdecimal-1.2.0-16.fc20.x86_64

4/11
  Installing : rubygem-json-1.7.7-101.fc20.x86_64

5/11
  Installing : rubygem-rdoc-4.0.1-2.fc20.noarch

6/11
  Installing : ruby-irb-2.0.0.353-16.fc20.noarch

7/11
  Installing : rubypick-1.1.0-2.fc20.noarch

8/11
  Installing : ruby-2.0.0.353-16.fc20.x86_64

9/11
  Installing : rubygems-2.1.11-115.fc20.noarch

10/11
  Installing : rubygem-psych-2.0.0-16.fc20.x86_64

11/11
etckeeper: post transaction commit
  Verifying  : libyaml-0.1.4-5.fc20.x86_64

1/11
  Verifying  : rubygem-io-console-0.4.2-16.fc20.x86_64

2/11
  Verifying  : rubygem-rdoc-4.0.1-2.fc20.noarch

3/11
  Verifying  : rubygems-2.1.11-115.fc20.noarch

4/11
  Verifying  : rubygem-bigdecimal-1.2.0-16.fc20.x86_64

5/11
  Verifying  : ruby-libs-2.0.0.353-16.fc20.x86_64

6/11
  Verifying  : rubygem-json-1.7.7-101.fc20.x86_64

7/11
  Verifying  : rubygem-psych-2.0.0-16.fc20.x86_64

8/11
  Verifying  : rubypick-1.1.0-2.fc20.noarch

9/11
  Verifying  : ruby-2.0.0.353-16.fc20.x86_64

10/11
  Verifying  : ruby-irb-2.0.0.353-16.fc20.noarch

11/11
Installed:
  ruby.x86_64 0:2.0.0.353-16.fc20
Dependency Installed:
  libyaml.x86_64 0:0.1.4-5.fc20                     ruby-irb.noarch
0:2.0.0.353-16.fc20               ruby-libs.x86_64 0:2.0.0.353-16.fc20
  rubygem-bigdecimal.x86_64 0:1.2.0-16.fc20
rubygem-io-console.x86_64 0:0.4.2-16.fc20         rubygem-json.x86_64
0:1.7.7-101.fc20
  rubygem-psych.x86_64 0:2.0.0-16.fc20
rubygem-rdoc.noarch 0:4.0.1-2.fc20                rubygems.noarch
0:2.1.11-115.fc20
  rubypick.noarch 0:1.1.0-2.fc20
Complete!
[martin at tp-martin puppet-rlgold.git]$ sudo yum install puppet
Loaded plugins: etckeeper, langpacks, refresh-packagekit
Repository 'spotify' is missing name in configuration, using id
Resolving Dependencies
--> Running transaction check
---> Package puppet.noarch 0:3.3.2-1.fc20 will be installed
--> Processing Dependency: hiera >= 1.0.0 for package:
puppet-3.3.2-1.fc20.noarch
--> Processing Dependency: facter >= 1.6.6 for package:
puppet-3.3.2-1.fc20.noarch
--> Processing Dependency: ruby(shadow) for package: puppet-3.3.2-1.fc20.noarch
--> Processing Dependency: ruby(selinux) for package: puppet-3.3.2-1.fc20.noarch
--> Processing Dependency: ruby(augeas) for package: puppet-3.3.2-1.fc20.noarch
--> Running transaction check
---> Package facter.x86_64 0:1.6.18-5.fc20 will be installed
--> Processing Dependency: virt-what for package: facter-1.6.18-5.fc20.x86_64
---> Package hiera.noarch 0:1.2.1-1.fc20 will be installed
---> Package libselinux-ruby.x86_64 0:2.2.1-6.fc20 will be installed
---> Package ruby-augeas.x86_64 0:0.5.0-2.fc20 will be installed
---> Package ruby-shadow.x86_64 0:1.4.1-20.fc20 will be installed
--> Running transaction check
---> Package virt-what.x86_64 0:1.13-2.fc20 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================
 Package                                Arch
Version                                 Repository
 Size
===================================================================================================================================================
Installing:
 puppet                                 noarch
3.3.2-1.fc20                            updates
1.1 M
Installing for dependencies:
 facter                                 x86_64
1.6.18-5.fc20                           fedora
 62 k
 hiera                                  noarch
1.2.1-1.fc20                            fedora
 22 k
 libselinux-ruby                        x86_64
2.2.1-6.fc20                            updates
126 k
 ruby-augeas                            x86_64
0.5.0-2.fc20                            fedora
 24 k
 ruby-shadow                            x86_64
1.4.1-20.fc20                           fedora
 13 k
 virt-what                              x86_64
1.13-2.fc20                             fedora
 26 k
Transaction Summary
===================================================================================================================================================
Install  1 Package (+6 Dependent packages)
Total download size: 1.3 M
Installed size: 4.0 M
Is this ok [y/d/N]: y
Downloading packages:
(1/7): facter-1.6.18-5.fc20.x86_64.rpm
                                                     |  62 kB
00:00:00
(2/7): hiera-1.2.1-1.fc20.noarch.rpm
                                                     |  22 kB
00:00:00
(3/7): ruby-augeas-0.5.0-2.fc20.x86_64.rpm
                                                     |  24 kB
00:00:00
(4/7): ruby-shadow-1.4.1-20.fc20.x86_64.rpm
                                                     |  13 kB
00:00:00
(5/7): virt-what-1.13-2.fc20.x86_64.rpm
                                                     |  26 kB
00:00:00
(6/7): libselinux-ruby-2.2.1-6.fc20.x86_64.rpm
                                                     | 126 kB
00:00:00
(7/7): puppet-3.3.2-1.fc20.noarch.rpm
                                                     | 1.1 MB
00:00:01
---------------------------------------------------------------------------------------------------------------------------------------------------
Total
                                            903 kB/s | 1.3 MB
00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
etckeeper: pre transaction commit
  Installing : libselinux-ruby-2.2.1-6.fc20.x86_64

 1/7
  Installing : ruby-augeas-0.5.0-2.fc20.x86_64

 2/7
  Installing : hiera-1.2.1-1.fc20.noarch

 3/7
  Installing : ruby-shadow-1.4.1-20.fc20.x86_64

 4/7
  Installing : virt-what-1.13-2.fc20.x86_64

 5/7
  Installing : facter-1.6.18-5.fc20.x86_64

 6/7
  Installing : puppet-3.3.2-1.fc20.noarch

 7/7
etckeeper: post transaction commit
  Verifying  : virt-what-1.13-2.fc20.x86_64

 1/7
  Verifying  : ruby-shadow-1.4.1-20.fc20.x86_64

 2/7
  Verifying  : hiera-1.2.1-1.fc20.noarch

 3/7
  Verifying  : puppet-3.3.2-1.fc20.noarch

 4/7
  Verifying  : ruby-augeas-0.5.0-2.fc20.x86_64

 5/7
  Verifying  : libselinux-ruby-2.2.1-6.fc20.x86_64

 6/7
  Verifying  : facter-1.6.18-5.fc20.x86_64

 7/7

Installed:
  puppet.noarch 0:3.3.2-1.fc20

Dependency Installed:
  facter.x86_64 0:1.6.18-5.fc20        hiera.noarch 0:1.2.1-1.fc20
 libselinux-ruby.x86_64 0:2.2.1-6.fc20   ruby-augeas.x86_64
0:0.5.0-2.fc20
  ruby-shadow.x86_64 0:1.4.1-20.fc20   virt-what.x86_64 0:1.13-2.fc20

Complete!




m
-- 
 martin.langhoff at gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff


More information about the devel mailing list