Bug 1850448 - Unable to install plugins through vagrant plugin install
Summary: Unable to install plugins through vagrant plugin install
Keywords:
Status: CLOSED DUPLICATE of bug 1835836
Alias: None
Product: Fedora
Classification: Fedora
Component: vagrant
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-24 10:39 UTC by Pavel Březina
Modified: 2020-06-24 11:42 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-06-24 11:42:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Březina 2020-06-24 10:39:54 UTC
This is with fresh vagrant installation (dnf install vagrant -y). No matter which plugin I choose to install I always get:

$ vagrant plugin install winrm
Installing the 'winrm' plugin. This can take a few minutes...
Traceback (most recent call last):
	39: from /usr/share/vagrant/gems/bin/vagrant:23:in `<main>'
	38: from /usr/share/vagrant/gems/bin/vagrant:23:in `load'
	37: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/bin/vagrant:205:in `<top (required)>'
	36: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/environment.rb:290:in `cli'
	35: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/cli.rb:67:in `execute'
	34: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/plugins/commands/plugin/command/root.rb:66:in `execute'
	33: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/plugins/commands/plugin/command/install.rb:69:in `execute'
	32: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/plugins/commands/plugin/command/install.rb:69:in `each'
	31: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/plugins/commands/plugin/command/install.rb:70:in `block in execute'
	30: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/plugins/commands/plugin/command/base.rb:14:in `action'
	29: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `run'
	28: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/util/busy.rb:19:in `busy'
	27: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/action/runner.rb:89:in `block in run'
	26: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/action/builder.rb:116:in `call'
	25: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/action/warden.rb:48:in `call'
	24: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/plugins/commands/plugin/action/install_gem.rb:30:in `call'
	23: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/plugin/manager.rb:148:in `install_plugin'
	22: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/plugin/manager.rb:138:in `block in install_plugin'
	21: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/bundler.rb:336:in `install'
	20: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/bundler.rb:474:in `internal_install'
	19: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/bundler.rb:474:in `new'
	18: from /usr/share/vagrant/gems/gems/vagrant-2.2.9/lib/vagrant/bundler.rb:766:in `initialize'
	17: from /usr/share/rubygems/rubygems/resolver/installer_set.rb:38:in `initialize'
	16: from /usr/share/rubygems/rubygems/spec_fetcher.rb:43:in `fetcher'
	15: from /usr/share/rubygems/rubygems/spec_fetcher.rb:43:in `new'
	14: from /usr/share/rubygems/rubygems/spec_fetcher.rb:58:in `initialize'
	13: from /usr/share/rubygems/rubygems.rb:995:in `sources'
	12: from /usr/share/rubygems/rubygems.rb:341:in `configuration'
	11: from /usr/share/rubygems/rubygems.rb:341:in `new'
	10: from /usr/share/rubygems/rubygems/config_file.rb:182:in `initialize'
	 9: from /usr/share/rubygems/rubygems/config_file.rb:332:in `load_file'
	 8: from /usr/share/rubygems/rubygems.rb:696:in `load_yaml'
	 7: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:72:in `require'
	 6: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:72:in `require'
	 5: from /usr/share/gems/gems/psych-3.1.0/lib/psych.rb:20:in `<top (required)>'
	 4: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:72:in `require'
	 3: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:72:in `require'
	 2: from /usr/share/gems/gems/psych-3.1.0/lib/psych/parser.rb:2:in `<top (required)>'
	 1: from /usr/share/gems/gems/psych-3.1.0/lib/psych/parser.rb:33:in `<module:Psych>'
/usr/share/gems/gems/psych-3.1.0/lib/psych/parser.rb:34:in `<class:Parser>': superclass mismatch for class Mark (TypeError)



Version-Release number of selected component (if applicable):
vagrant-2.2.9-1.fc32


How reproducible:
Always.


Steps to Reproduce:
1. dnf install vagrant -y
2. vagrant plugin install winrm

Comment 1 Pavel Březina 2020-06-24 11:17:45 UTC
Note that it works with upstream vagrant, but I am unable to install vagrant-libvirt with it.

Comment 2 Vít Ondruch 2020-06-24 11:42:52 UTC

*** This bug has been marked as a duplicate of bug 1835836 ***


Note You need to log in before you can comment on or make changes to this bug.