hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.31k stars 4.43k forks source link

On Windows 10, "vagrant up" and "vagrant box add" throw blank errors #6852

Closed bw closed 8 years ago

bw commented 8 years ago

This issue is closed. If you are experiencing this problem, please install Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) (note: must be 2010, and x86, version). If that doesn't solve your problem, open a new issue -- nobody on this thread is a Vagrant contributor.

I'm having some trouble getting Vagrant to work on my computer (Intel i7/Windows 10). I've installed VirtualBox then Vagrant, but when I try to run vagrant up or vagrant box add [box], the action fails with a blank error message (literally, nothing shows up in the Error field). See (1) and (2) below.

Finally, I've copy and pasted a --debug copy of vagrant box add, if that is at all helpful -- see (5) below.

Please advise-- I feel like I've tried everything and it is just not working! This is incredibly frustrating.

1) Doesn't work with vagrant up

PS C:\dev\homestead> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'laravel/homestead' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error:
PS C:\dev\homestead>

2) Doesn't work with vagrant box add

PS C:\dev\homestead> vagrant box add laravel/homestead
The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error:
PS C:\dev\homestead>

3) Same message shown for nonexistent box...

PS C:\dev\homestead> vagrant box add random/box
The box 'random/box' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/random/box"]
Error:
PS C:\dev\homestead>

4) ...but also for local copy of box

PS C:\Dev\homestead> vagrant box add --name hashicorp/precise32 ../precise32.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'hashicorp/precise32' (v0) for provider:
    box: Unpacking necessary files from: file://C:/Dev/precise32.box
    box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

PS C:\Dev\homestead>

5) Verbose debug version of vagrant box add

PS C:\Dev\homestead> vagrant box add laravel/homestead --debug
 INFO global: Vagrant version: 1.8.1
 INFO global: Ruby version: 2.2.3
 INFO global: RubyGems version: 2.4.5.1
 INFO global: VAGRANT_EXECUTABLE="C:\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.1\\bin\\vagrant"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\Vagrant\\embedded"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
 INFO global: VAGRANT_LOG="debug"
 INFO global: VAGRANT_OLD_ENV_ALLUSERSPROFILE="C:\\ProgramData"
 INFO global: VAGRANT_OLD_ENV_APPDATA="C:\\Users\\bw\\AppData\\Roaming"
 INFO global: VAGRANT_OLD_ENV_CommonProgramFiles="C:\\Program Files (x86)\\Common Files"
 INFO global: VAGRANT_OLD_ENV_CommonProgramFiles(x86)="C:\\Program Files (x86)\\Common Files"
 INFO global: VAGRANT_OLD_ENV_CommonProgramW6432="C:\\Program Files\\Common Files"
 INFO global: VAGRANT_OLD_ENV_COMPUTERNAME="[REDACTED]"
 INFO global: VAGRANT_OLD_ENV_ComSpec="C:\\WINDOWS\\system32\\cmd.exe"
 INFO global: VAGRANT_OLD_ENV_HOMEDRIVE="C:"
 INFO global: VAGRANT_OLD_ENV_HOMEPATH="\\Users\\bw"
 INFO global: VAGRANT_OLD_ENV_LOCALAPPDATA="C:\\Users\\bw\\AppData\\Local"
 INFO global: VAGRANT_OLD_ENV_LOGONSERVER="\\\\MicrosoftAccount"
 INFO global: VAGRANT_OLD_ENV_NUMBER_OF_PROCESSORS="4"
 INFO global: VAGRANT_OLD_ENV_OS="Windows_NT"
 INFO global: VAGRANT_OLD_ENV_Path="C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\
\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Server\\bin\\perl\\c\\bin;C:\\Server\\bin\\perl\\
perl\\site\\bin;C:\\Server\\bin\\perl\\perl\\bin;C:\\Vagrant\\bin;C:\\Users\\bw\\AppData\\Local\\atom\\bin"
 INFO global: VAGRANT_OLD_ENV_PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_ARCHITECTURE="x86"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_ARCHITEW6432="AMD64"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 78 Stepping 3, GenuineIntel"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_LEVEL="6"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_REVISION="4e03"
 INFO global: VAGRANT_OLD_ENV_ProgramData="C:\\ProgramData"
 INFO global: VAGRANT_OLD_ENV_ProgramFiles="C:\\Program Files (x86)"
 INFO global: VAGRANT_OLD_ENV_ProgramFiles(x86)="C:\\Program Files (x86)"
 INFO global: VAGRANT_OLD_ENV_ProgramW6432="C:\\Program Files"
 INFO global: VAGRANT_OLD_ENV_PSModulePath="C:\\Users\\bw\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\Wind
owsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\"
 INFO global: VAGRANT_OLD_ENV_PUBLIC="C:\\Users\\Public"
 INFO global: VAGRANT_OLD_ENV_SESSIONNAME="Console"
 INFO global: VAGRANT_OLD_ENV_SystemDrive="C:"
 INFO global: VAGRANT_OLD_ENV_SystemRoot="C:\\WINDOWS"
 INFO global: VAGRANT_OLD_ENV_TEMP="C:\\Users\\bw\\AppData\\Local\\Temp"
 INFO global: VAGRANT_OLD_ENV_TERM="dumb"
 INFO global: VAGRANT_OLD_ENV_TMP="C:\\Users\\bw\\AppData\\Local\\Temp"
 INFO global: VAGRANT_OLD_ENV_USERDOMAIN="[REDACTED]"
 INFO global: VAGRANT_OLD_ENV_USERDOMAIN_ROAMINGPROFILE="[REDACTED]"
 INFO global: VAGRANT_OLD_ENV_USERNAME="bw"
 INFO global: VAGRANT_OLD_ENV_USERPROFILE="C:\\Users\\bw"
 INFO global: VAGRANT_OLD_ENV_VBOX_MSI_INSTALL_PATH="C:\\Program Files\\Oracle\\VirtualBox\\"
 INFO global: VAGRANT_OLD_ENV_windir="C:\\WINDOWS"
 INFO global: Plugins:
 INFO global:   - bundler = 1.10.6
 INFO global:   - mime-types = 1.25.1
 INFO global:   - rest-client = 1.6.9
 INFO global:   - vagrant-share = 1.1.5
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/cap/plugin.rb
 INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/port/plugin.rb
 INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/powershell/plugin.rb
 INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/provider/plugin.rb
 INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/snapshot/plugin.rb
 INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/atomic/plugin.rb
 INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/photon/plugin.rb
 INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
 INFO global: Loading plugins!
 INFO manager: Registered plugin: vagrant-share
 INFO vagrant: `vagrant` invoked: ["box", "add", "laravel/homestead", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x2eb5c40>)
 INFO environment:   - cwd: C:/Dev/homestead
 INFO environment: Home path: C:/Users/bw/.vagrant.d
 INFO environment: Local data path: C:/Dev/homestead/.vagrant
DEBUG environment: Creating: C:/Dev/homestead/.vagrant
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x3cc0948>
 INFO environment: Running hook: environment_load
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x3bc0b98>
 INFO cli: CLI: [] "box" ["add", "laravel/homestead"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandBox::Command::Root ["add", "laravel/homestead"]
DEBUG root: Invoking command class: VagrantPlugins::CommandBox::Command::Add ["laravel/homestead"]
 INFO loader: Set :root = ["#<Pathname:C:/Dev/homestead/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:C:/Dev/homestead/Vagrantfile>
DEBUG loader: Load procs for pathname: C:/Dev/homestead/Vagrantfile
 INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO host: Autodetecting host type for [#<Vagrant::Environment: C:/Dev/homestead>]
DEBUG host: Trying: arch
DEBUG host: Trying: darwin
DEBUG host: Trying: freebsd
DEBUG host: Trying: gentoo
DEBUG host: Trying: redhat
DEBUG host: Trying: slackware
DEBUG host: Trying: suse
DEBUG host: Trying: bsd
DEBUG host: Trying: linux
DEBUG host: Trying: null
DEBUG host: Trying: windows
 INFO host: Detected: windows!
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action:  #<Vagrant::Action::Builder:0x32c95c8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BoxAdd:0x2dd68f0>
 INFO environment: Running hook: authenticate_box_url
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: authenticate_box_url #<Vagrant::Action::Builder:0x3d5b850>
 INFO warden: Calling IN action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x31bda58>
DEBUG client: No authentication token in environment or C:/Users/bw/.vagrant.d/data/vagrant_login_token
 INFO warden: Calling OUT action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x31bda58>
 INFO box_add: Downloading box: https://atlas.hashicorp.com/laravel/homestead => C:/Users/bw/.vagrant.d/tmp/box2c527367c
bd962f514f8dee4922cc67a61b5c0d2
 INFO downloader: HEAD: https://atlas.hashicorp.com/laravel/homestead
 INFO subprocess: Starting process: ["C:\\Vagrant\\embedded\\bin/curl.EXE", "-I", "-q", "--fail", "--location", "--max-r
edirs", "10", "--user-agent", "Vagrant/1.8.1 (+https://www.vagrantup.com; ruby2.2.3)", "--continue-at", "-", "-H", "Acce
pt: application/json", "https://atlas.hashicorp.com/laravel/homestead"]
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 3221225781
 WARN downloader: Downloader exit code: 3221225781
ERROR warden: Error occurred: The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error:
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Running hook: environment_unload
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x44e2d38>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::BoxAddShortNotFound: The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error: >
ERROR vagrant: The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error:
ERROR vagrant: C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/box_add.rb:89:in `call'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builder.rb:116:in `call'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `block in run'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/util/busy.rb:19:in `busy'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `run'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/box/command/add.rb:78:in `execute'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/box/command/root.rb:61:in `execute'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/cli.rb:42:in `execute'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:302:in `cli'
C:/Vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:174:in `<main>'
 INFO interface: error: The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error:
The box 'laravel/homestead' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/laravel/homestead"]
Error:
 INFO interface: Machine: error-exit ["Vagrant::Errors::BoxAddShortNotFound", "The box 'laravel/homestead' could not be
found or\ncould not be accessed in the remote catalog. If this is a private\nbox on HashiCorp's Atlas, please verify you
're logged in via\n`vagrant login`. Also, please double-check the name. The expanded\nURL and error message are shown be
low:\n\nURL: [\"https://atlas.hashicorp.com/laravel/homestead\"]\nError: "]
PS C:\Dev\homestead>
hondilla commented 8 years ago

Check this https://github.com/mitchellh/vagrant/issues/6754

bw commented 8 years ago

@Hondilla somehow, four hours of Googling did not yield that issue! The problem was that I had the x64 version but not the x86 version of the redistributable installed. Thanks!

mwrock commented 8 years ago

I just hit this myself too on windows 10/vagrant 1.8.1. Rolling back to 1.7.4 works. I'll add the C++ redist mentioned in #6754 to get 1.8.1.

@sethvargo should this be reopened? Seems like a bad user experience to ship a version of curl (assuming thats the root cause) that does not work "out of the box" on windows 10.

bw commented 8 years ago

Chiming in again-- I legitimately spent around four or five hours trying to find the solution to this problem and nothing I looked at indicated that redistributable version was the problem. The fact that the error is extremely ambiguous (i.e. not a single error everyone searches for) made solving it even harder.

I, for one, would appreciate the .msi install process also automatically installing the redistributable.

StefanScherer commented 8 years ago

Got the same error. My workaround is

choco install -y vcredist2010
Larivact commented 8 years ago

As long as the installer isn't fixed a note "requires Visual C++ 2010" should probably be added to the windows download section; btw the issue also exists on Windows 7.

StefanScherer commented 8 years ago

It seems that the latest curl.exe are compiled with dynamic runtime. There are several ways to solve the problem for the vagrant installer:

vynn89 commented 8 years ago

I have exactly the same problem. Solved by installing Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)

lmeyemezu commented 8 years ago

Hi, Sorry to bother... I've tried all (reinstall Microsoft Visual C++ 2010 SP1 Redistributable Package (x86),copy curl.exe from git bash....) . still have error :-1: Box file was not detected as metadata The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and try again. The output from attempting to unpackage (if any):

bsdtar.EXE: Error opening archive: Unrecognized archive format

zqhong commented 8 years ago

I also have the same error., but I slove it.

OS: Windows 8.1 x64 Vagrant: 1.8.1 VirtualBox: 5.0.16 Homestead: 0.4.2

Step1: Use your favourite editor open homestead/scripts/homestead.rb. And then find the line, in my case, it is line 17

config.vm.box_version = settings["version"] ||= ">= 0.4.0"

Step2: Change the '0.4.0' to '0', like this

config.vm.box_version = settings["version"] ||= ">= 0"

Step3: Just execute vagrant up. It might works. Good luck!

link: http://stackoverflow.com/questions/34946837/box-laravel-homestead-could-not-be-found

sashgorokhov commented 8 years ago

Installing Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) solved my problem. I had a fresh installation of windows 10 x64 and vagrant 1.8.1

langocthach commented 8 years ago

You should installing Microsoft Visual C++ 2010 SP1 Redistributable Package (x86). I had a fresh installation of windows 10 x64 and vagrant 1.8.1

https://www.microsoft.com/en-us/download/details.aspx?id=8328

zackkrida commented 8 years ago

Can confirm that with vagrant 1.8.1, windows 10 x64 that adding https://www.microsoft.com/en-us/download/details.aspx?id=8328 works.

ColbyWanShinobi commented 8 years ago

I spent hours trying to figure this out. Installing the 2010 vcredist package for x86 fixed this issue straight away on my Windows 10 x64 environment.

mknutty commented 8 years ago

I spent a few hours googling for a solution too. All solutions were Mac related. Ran with info level and got an error code and googled that and found this. Fix worked for me. FYI, I am running Windows 7

gtirloni commented 8 years ago

Getting the same issue on a fresh install of Windows 10 with VirtualBox 5.0.26 and Vagrant 1.8.5.

andydude commented 8 years ago

Same issue with Vagrant 1.8.7 on Mac OS X 10.10.5

JGONGSQ commented 7 years ago

I have the same issue with this with Vagrant 1.8.7 on Mac OS 10.12.1

kudos commented 7 years ago

Same here with Vagrant 1.8.7 on Mac OS 10.12.1. Downgrading to 1.8.6 resolves it for me.

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.