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

Uninstalling legacy plugins raises errors #12864

Open
chrisroberts opened this issue Aug 29, 2022 · 0 comments · May be fixed by #12920
Open

Uninstalling legacy plugins raises errors #12864

chrisroberts opened this issue Aug 29, 2022 · 0 comments · May be fixed by #12920

Comments

@chrisroberts
Copy link
Member

chrisroberts commented Aug 29, 2022

Description

Uninstalling vagrant ruby plugins from the vagrant-go binary results in an error

% ./vagrant plugin install vagrant-vbguest

» Running plugin install... 
  Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vbguest (0.30.0)'!
(vagrant-agogo) sophia@x86_64-apple-darwin13 [13:39:26] [~/project/vagrant-ruby] [main]
-> % ./vagrant plugin list

» Running plugin list... 
  vagrant-vbguest (0.30.0, global)
(vagrant-agogo) sophia@x86_64-apple-darwin13 [13:41:55] [~/project/vagrant-ruby] [main]
-> % ./vagrant plugin uninstall vagrant-vbguest

» Running plugin uninstall... 
  Uninstalling the 'vagrant-vbguest' plugin...
! Running of task plugin uninstall failed unexpectedly
  
! Error: rpc error: code = Unknown desc = No such file or directory @ rb_check_realpath_internal - /Users/sophia/Library/Application
Support/vagrant/default/project/vagrant-ruby/plugins/gems/2.7.2
  /Users/sophia/project/vagrant-ruby/lib/vagrant/bundler.rb:441:in `realpath'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/bundler.rb:441:in `realpath'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/bundler.rb:441:in `block in clean'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/bundler.rb:440:in `delete_if'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/bundler.rb:440:in `clean'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/plugin/manager.rb:229:in `uninstall_plugin'
  /Users/sophia/project/vagrant-ruby/plugins/commands/plugin/action/uninstall_plugin.rb:18:in `call'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/action/warden.rb:48:in `call'
  /Users/sophia/project/vagrant-ruby/plugins/commands/plugin/action/plugin_exists_check.rb:20:in `call'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/action/warden.rb:48:in `call'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/action/builder.rb:180:in `call'
  /Users/sophia/project/vagrant-ruby/lib/vagrant/action/runner.rb:101:in `block in run'
  /Users/sophia/project/vagr...

Use case (optional)

Users can uninstall plugins

Estimated task complexity time-frame (does not guarantee a delivery date)

  • 1 week

If a task takes longer than 3 weeks, either consider if you can break it down into smaller pieces of work or update the issue with a new estimated time-frame with a summary checklist of tasks.

Estimated user impact

Major

@chrisroberts chrisroberts added this to the 2.3 milestone Sep 22, 2022
@soapy1 soapy1 self-assigned this Sep 23, 2022
@chrisroberts chrisroberts modified the milestones: 2.3, 2.3.2 Sep 23, 2022
@soapy1 soapy1 linked a pull request Sep 26, 2022 that will close this issue
@soapy1 soapy1 modified the milestones: 2.3.3, 2.3.6 Jan 23, 2023
@chrisroberts chrisroberts modified the milestones: 2.3.6, 2.3.7 May 17, 2023
@chrisroberts chrisroberts modified the milestones: 2.3.7, 2.3.8 Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants