Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive-tar-minitar gem conflicts with minitar #292

Closed
danieldreier opened this issue Jun 1, 2014 · 7 comments
Closed

archive-tar-minitar gem conflicts with minitar #292

danieldreier opened this issue Jun 1, 2014 · 7 comments

Comments

@danieldreier
Copy link

When I try to install the latest beaker gem (1.12.1), archive-tar-minitar's "minitar" executable conflicts with minitar's executable of the same name. Archive-tar-minitar comes from beaker's docker-api dependency, while minitar comes from blimpy:

gem_graph

I haven't figured out what actual impact it has if you go ahead and overwrite it.

Example on ruby 2.1.2

[daniel@x220 beaker]$ rvm use 2.1
Using /home/daniel/.rvm/gems/ruby-2.1.2
[daniel@x220 beaker]$ gem install beaker
Fetching: net-ssh-2.9.1.gem (100%)
Successfully installed net-ssh-2.9.1
Fetching: net-scp-1.2.1.gem (100%)
Successfully installed net-scp-1.2.1
Fetching: inifile-2.0.2.gem (100%)
Successfully installed inifile-2.0.2
Fetching: trollop-2.0.gem (100%)
Successfully installed trollop-2.0
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: nokogiri-1.5.10.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.5.10
Fetching: rbvmomi-1.8.1.gem (100%)
Successfully installed rbvmomi-1.8.1
Fetching: excon-0.34.0.gem (100%)
Successfully installed excon-0.34.0
Fetching: formatador-0.2.5.gem (100%)
Successfully installed formatador-0.2.5
Fetching: mime-types-1.25.1.gem (100%)
Successfully installed mime-types-1.25.1
Fetching: ruby-hmac-0.4.0.gem (100%)
Successfully installed ruby-hmac-0.4.0
Fetching: fog-1.11.1.gem (100%)
Successfully installed fog-1.11.1
Fetching: thor-0.19.1.gem (100%)
Successfully installed thor-0.19.1
Fetching: minitar-0.5.4.gem (100%)
Successfully installed minitar-0.5.4
Fetching: blimpy-0.6.7.gem (100%)
Successfully installed blimpy-0.6.7
Fetching: CFPropertyList-2.2.8.gem (100%)
Successfully installed CFPropertyList-2.2.8
Fetching: fission-0.5.0.gem (100%)
Successfully installed fission-0.5.0
Fetching: addressable-2.3.6.gem (100%)
Successfully installed addressable-2.3.6
Fetching: launchy-2.4.2.gem (100%)
Successfully installed launchy-2.4.2
Fetching: retriable-1.4.1.gem (100%)
Successfully installed retriable-1.4.1
Fetching: jwt-1.0.0.gem (100%)
Successfully installed jwt-1.0.0
Fetching: extlib-0.9.16.gem (100%)
Successfully installed extlib-0.9.16
Fetching: multi_json-1.10.1.gem (100%)
Successfully installed multi_json-1.10.1
Fetching: multipart-post-2.0.0.gem (100%)
Successfully installed multipart-post-2.0.0
Fetching: faraday-0.9.0.gem (100%)
Successfully installed faraday-0.9.0
Fetching: autoparse-0.3.3.gem (100%)
Successfully installed autoparse-0.3.3
Fetching: uuidtools-2.1.4.gem (100%)
Successfully installed uuidtools-2.1.4
Fetching: signet-0.5.0.gem (100%)
Successfully installed signet-0.5.0
Fetching: google-api-client-0.7.1.gem (100%)
Successfully installed google-api-client-0.7.1
Fetching: aws-sdk-1.42.0.gem (100%)
Successfully installed aws-sdk-1.42.0
Fetching: archive-tar-minitar-0.5.2.gem (100%)
archive-tar-minitar's executable "minitar" conflicts with minitar
Overwrite the executable? [yN] 

Example on ruby 1.9.3

[daniel@x220 beaker]$ rvm use 1.9.3
Using /home/daniel/.rvm/gems/ruby-1.9.3-p547
[daniel@x220 beaker]$ rvm gemset create beaker-install
ruby-1.9.3-p547 - #gemset created /home/daniel/.rvm/gems/ruby-1.9.3-p547@beaker-install
ruby-1.9.3-p547 - #generating beaker-install wrappers.......r..
[daniel@x220 beaker]$ rvm gemset use beaker-install
Using ruby-1.9.3-p547 with gemset beaker-install
[daniel@x220 beaker]$ gem install beaker
Fetching: json-1.8.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed json-1.8.1
Fetching: net-ssh-2.9.1.gem (100%)
Successfully installed net-ssh-2.9.1
Fetching: net-scp-1.2.1.gem (100%)
Successfully installed net-scp-1.2.1
Fetching: inifile-2.0.2.gem (100%)
Successfully installed inifile-2.0.2
Fetching: trollop-2.0.gem (100%)
Successfully installed trollop-2.0
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: nokogiri-1.5.10.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.5.10
Fetching: rbvmomi-1.8.1.gem (100%)
Successfully installed rbvmomi-1.8.1
Fetching: excon-0.34.0.gem (100%)
Successfully installed excon-0.34.0
Fetching: formatador-0.2.5.gem (100%)
Successfully installed formatador-0.2.5
Fetching: mime-types-1.25.1.gem (100%)
Successfully installed mime-types-1.25.1
Fetching: ruby-hmac-0.4.0.gem (100%)
Successfully installed ruby-hmac-0.4.0
Fetching: fog-1.11.1.gem (100%)
Successfully installed fog-1.11.1
Fetching: thor-0.19.1.gem (100%)
Successfully installed thor-0.19.1
Fetching: minitar-0.5.4.gem (100%)
Successfully installed minitar-0.5.4
Fetching: blimpy-0.6.7.gem (100%)
Successfully installed blimpy-0.6.7
Fetching: CFPropertyList-2.2.8.gem (100%)
Successfully installed CFPropertyList-2.2.8
Fetching: fission-0.5.0.gem (100%)
Successfully installed fission-0.5.0
Fetching: addressable-2.3.6.gem (100%)
Successfully installed addressable-2.3.6
Fetching: launchy-2.4.2.gem (100%)
Successfully installed launchy-2.4.2
Fetching: retriable-1.4.1.gem (100%)
Successfully installed retriable-1.4.1
Fetching: jwt-1.0.0.gem (100%)
Successfully installed jwt-1.0.0
Fetching: extlib-0.9.16.gem (100%)
Successfully installed extlib-0.9.16
Fetching: multi_json-1.10.1.gem (100%)
Successfully installed multi_json-1.10.1
Fetching: multipart-post-2.0.0.gem (100%)
Successfully installed multipart-post-2.0.0
Fetching: faraday-0.9.0.gem (100%)
Successfully installed faraday-0.9.0
Fetching: autoparse-0.3.3.gem (100%)
Successfully installed autoparse-0.3.3
Fetching: uuidtools-2.1.4.gem (100%)
Successfully installed uuidtools-2.1.4
Fetching: signet-0.5.0.gem (100%)
Successfully installed signet-0.5.0
Fetching: google-api-client-0.7.1.gem (100%)
Successfully installed google-api-client-0.7.1
Fetching: aws-sdk-1.42.0.gem (100%)
Successfully installed aws-sdk-1.42.0
Fetching: archive-tar-minitar-0.5.2.gem (100%)
archive-tar-minitar's executable "minitar" conflicts with minitar
Overwrite the executable? [yN] 
@anodelman
Copy link
Contributor

This was fixed a while back, just didn't update this issue.

@soumentrivedi
Copy link

hi @anodelman when you say this was fixed a while back, was the change actually made available in the rubygems repositories? I am using https://rubygems.org/ as my source for installation of beaker using rvm and getting this error in Ruby 1.9.3. I have also tried changing the source to point to the github url for puppetlabs beaker repository and still get the same error. I am using puppet & rvm to setup tools in my environment and beaker is one of them. Any help would be appreciated.

@walkamongus
Copy link

FYI -- I just ran into this while trying to install beaker 1.20.1 from rubygems on a fresh centos 6.5 box with RVM/Ruby 2.1.3

@danieldreier
Copy link
Author

I just ran a gem install beaker from a clean RVM environment and was able to reproduce the problem as well:

danieldreier@Daniels-MacBook-Pro~/development/puppet-installer$ rvm gemset use puppet-installer --create
Using ruby-2.1.2 with gemset puppet-installer
ruby-2.1.2 - #gemset created /Users/danieldreier/.rvm/gems/ruby-2.1.2@puppet-installer
ruby-2.1.2 - #generating puppet-installer wrappers..........
danieldreier@Daniels-MacBook-Pro~/development/puppet-installer$ gem install beaker
Fetching: hocon-0.0.6.gem (100%)
Successfully installed hocon-0.0.6
Fetching: net-ssh-2.9.1.gem (100%)
Successfully installed net-ssh-2.9.1
Fetching: net-scp-1.2.1.gem (100%)
Successfully installed net-scp-1.2.1
Fetching: inifile-2.0.2.gem (100%)
Successfully installed inifile-2.0.2
Fetching: nokogiri-1.5.11.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.5.11
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: trollop-2.0.gem (100%)
Successfully installed trollop-2.0
Fetching: rbvmomi-1.8.1.gem (100%)
Successfully installed rbvmomi-1.8.1
Fetching: mime-types-1.25.1.gem (100%)
Successfully installed mime-types-1.25.1
Fetching: formatador-0.2.5.gem (100%)
Successfully installed formatador-0.2.5
Fetching: excon-0.41.0.gem (100%)
Successfully installed excon-0.41.0
Fetching: fog-core-1.25.0.gem (100%)
Successfully installed fog-core-1.25.0
Fetching: multi_json-1.10.1.gem (100%)
Successfully installed multi_json-1.10.1
Fetching: fog-json-1.0.0.gem (100%)
Successfully installed fog-json-1.0.0
Fetching: ipaddress-0.8.0.gem (100%)
Successfully installed ipaddress-0.8.0
Fetching: inflecto-0.0.2.gem (100%)
Successfully installed inflecto-0.0.2
Fetching: fog-brightbox-0.6.1.gem (100%)
Successfully installed fog-brightbox-0.6.1
Fetching: fog-1.22.1.gem (100%)
Successfully installed fog-1.22.1
Fetching: thor-0.19.1.gem (100%)
Successfully installed thor-0.19.1
Fetching: minitar-0.5.4.gem (100%)
Successfully installed minitar-0.5.4
Fetching: blimpy-0.6.7.gem (100%)
Successfully installed blimpy-0.6.7
Fetching: CFPropertyList-2.2.8.gem (100%)
Successfully installed CFPropertyList-2.2.8
Fetching: fission-0.5.0.gem (100%)
Successfully installed fission-0.5.0
Fetching: addressable-2.3.6.gem (100%)
Successfully installed addressable-2.3.6
Fetching: multipart-post-2.0.0.gem (100%)
Successfully installed multipart-post-2.0.0
Fetching: faraday-0.9.0.gem (100%)
Successfully installed faraday-0.9.0
Fetching: jwt-1.0.0.gem (100%)
Successfully installed jwt-1.0.0
Fetching: signet-0.5.1.gem (100%)
Successfully installed signet-0.5.1
Fetching: uuidtools-2.1.5.gem (100%)
Successfully installed uuidtools-2.1.5
Fetching: extlib-0.9.16.gem (100%)
Successfully installed extlib-0.9.16
Fetching: autoparse-0.3.3.gem (100%)
Successfully installed autoparse-0.3.3
Fetching: retriable-2.0.0.beta5.gem (100%)
Successfully installed retriable-2.0.0.beta5
Fetching: launchy-2.4.3.gem (100%)
Successfully installed launchy-2.4.3
Fetching: google-api-client-0.7.1.gem (100%)
Successfully installed google-api-client-0.7.1
Fetching: aws-sdk-1.42.0.gem (100%)
Successfully installed aws-sdk-1.42.0
Fetching: archive-tar-minitar-0.5.2.gem (100%)
archive-tar-minitar's executable "minitar" conflicts with minitar
Overwrite the executable? [yN]

@danieldreier danieldreier reopened this Nov 18, 2014
@soumentrivedi
Copy link

Tried installing using beaker - 1.12.1 as mentioned in the fix and still same error.

@anodelman
Copy link
Contributor

Latest beaker is 1.20.1 - is that what you are using?

@danieldreier
Copy link
Author

I must have made a mistake previously; I can confirm that it passes for me now using 1.20.1. Closing because I apparently re-opened it in error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants