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

Installing 'vagrant-winrm-file-download' fails #295

Open
Musashi178 opened this issue Nov 11, 2021 · 1 comment
Open

Installing 'vagrant-winrm-file-download' fails #295

Musashi178 opened this issue Nov 11, 2021 · 1 comment

Comments

@Musashi178
Copy link
Contributor

Hi,

I tried to setup a local dev environment, but running .\build-hyperv.ps1 or .\build-virtualbox.ps1 both failed during the installation of the 'vagrant-winrm-file-download' plugin:

❯ .\build-virtualbox.ps1 -SkipPester
Transcript started, output file is .\vagrant-virtualbox.log
Vagrant installed - good.
VirtualBox installed - good.
Vagrant plugin vagrant-winrm-syncedfolders exists - good.
Vagrant plugin vagrant-winrm-file-download not installed.
Installing the 'vagrant-winrm-file-download' plugin. This can take a few minutes...
Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:

Unable to resolve dependency: user requested 'vagrant-winrm-file-download (> 0)'
Failed to automatically install vagrant plugin vagrant-winrm-file-download
@matt-richardson
Copy link
Contributor

Sorry about that, @Musashi178 - that's not a great experience.

Here's the code we use on our (ubuntu) docker image that we use to pre-install that plugin:

curl --fail --silent -L "https://github.com/OctopusDeploy/vagrant-winrm-file-download/releases/download/0.0.1/vagrant-winrm-file-download-0.0.1.gem" -o /tmp/vagrant-winrm-file-download-0.0.1.gem
vagrant plugin install /tmp/vagrant-winrm-file-download-0.0.1.gem

Hope that helps!

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

2 participants