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

vagrant automatically remove ruby.exe #8973

Closed basarozcan closed 6 years ago

basarozcan commented 7 years ago

I used windows 10, I used vagrant up command for box.scotch.io box, it try to install then;

vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'scotch/box' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'scotch/box'
    default: URL: https://vagrantcloud.com/scotch/box
==> default: Adding box 'scotch/box' (v3.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/scotch/boxes/box/versions/3.0/providers/virtualbox.box
==> default: Box download is resuming from prior download progress
    default: Progress: 7% (Rate: 1785k/s, Estimated time remaining: 0:02:07))

It exits from vagrant up cmd w/o install all dependencies then I use any vagrant command:

vagrant -v
Exec error: exec: "C:\\HashiCorp\\Vagrant\\embedded\\mingw64\\bin\\ruby.exe": file does not exist

I checked the directory C:\HashiCorp\Vagrant\embedded\mingw64\bin and saw that ruby.exe is deleted by system.

What is the problem?

briancain commented 7 years ago

Hi there @basarozcan - Can you provide a full debug output when you vagrant up? (i.e. run with vagrant up --debug.

Thank you!

katchy3132 commented 7 years ago

I had this problem after running vagrant box outdated --global --debug

 C:\Users\Yo> vagrant box outdated --global --debug
 INFO global: Vagrant version: 2.0.0
 INFO global: Ruby version: 2.3.4
 INFO global: RubyGems version: 2.5.2.1
 INFO global: VAGRANT_DETECTED_ARCH="64"
 INFO global: VAGRANT_DETECTED_OS="msys"
 INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-2.0.0\\bin\\vagrant"
 INFO global: VAGRANT_HOME="D:\\vagrantHome"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_LOG="debug"
 INFO global: VAGRANT_OLD_ENV_="ExitCode=00000000"
 INFO global: VAGRANT_OLD_ENV_aliases="C:\\Program Files (standalone)\\cmder\\config\\user-aliases.cmd"
 INFO global: VAGRANT_OLD_ENV_ALLUSERSPROFILE="C:\\ProgramData"
 INFO global: VAGRANT_OLD_ENV_ANSICON="147x1000 (147x47)"
 INFO global: VAGRANT_OLD_ENV_ANSICON_DEF="7"
 INFO global: VAGRANT_OLD_ENV_APPDATA="C:\\Users\\Yo\\AppData\\Roaming"
 INFO global: VAGRANT_OLD_ENV_architecture="64"
 INFO global: VAGRANT_OLD_ENV_ChocolateyInstall="C:\\ProgramData\\chocolatey"
 INFO global: VAGRANT_OLD_ENV_ChocolateyLastPathUpdate="Sat Sep  2 21:38:10 2017"
 INFO global: VAGRANT_OLD_ENV_CMDER_ROOT="C:\\Program Files (standalone)\\cmder"
 INFO global: VAGRANT_OLD_ENV_CommonProgramFiles="C:\\Program Files\\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="YO-PC"
 INFO global: VAGRANT_OLD_ENV_ComSpec="C:\\WINDOWS\\system32\\cmd.exe"
 INFO global: VAGRANT_OLD_ENV_ConEmuANSI="ON"
 INFO global: VAGRANT_OLD_ENV_ConEmuAnsiLog=""
 INFO global: VAGRANT_OLD_ENV_ConEmuBackHWND="0x0003098C"
 INFO global: VAGRANT_OLD_ENV_ConEmuBaseDir="C:\\Program Files (standalone)\\cmder\\vendor\\conemu-maximus5\\ConEmu"
 INFO global: VAGRANT_OLD_ENV_ConEmuBuild="161206"
 INFO global: VAGRANT_OLD_ENV_ConEmuDir="C:\\Program Files (standalone)\\cmder\\vendor\\conemu-maximus5"
 INFO global: VAGRANT_OLD_ENV_ConEmuDrawHWND="0x0002098A"
 INFO global: VAGRANT_OLD_ENV_ConEmuDrive="C:"
 INFO global: VAGRANT_OLD_ENV_ConEmuHooks="Enabled"
 INFO global: VAGRANT_OLD_ENV_ConEmuHWND="0x000403A8"
 INFO global: VAGRANT_OLD_ENV_ConEmuIsAdmin="ADMIN"
 INFO global: VAGRANT_OLD_ENV_ConEmuPalette="Monokai"
 INFO global: VAGRANT_OLD_ENV_ConEmuPID="14800"
 INFO global: VAGRANT_OLD_ENV_ConEmuServerPID="3200"
 INFO global: VAGRANT_OLD_ENV_ConEmuTask="{cmd::Cmder as Admin}"
 INFO global: VAGRANT_OLD_ENV_ConEmuWorkDir="C:\\Users\\Yo"
 INFO global: VAGRANT_OLD_ENV_ConEmuWorkDrive="C:"
 INFO global: VAGRANT_OLD_ENV_devmgr_show_nonpresent_devices="1"
 INFO global: VAGRANT_OLD_ENV_GIT_INSTALL_ROOT="C:\\Program Files\\Git"
 INFO global: VAGRANT_OLD_ENV_HOME="C:\\Users\\Yo"
 INFO global: VAGRANT_OLD_ENV_HOMEDRIVE="C:"
 INFO global: VAGRANT_OLD_ENV_HOMEPATH="\\Users\\Yo"
 INFO global: VAGRANT_OLD_ENV_LOCALAPPDATA="C:\\Users\\Yo\\AppData\\Local"
 INFO global: VAGRANT_OLD_ENV_LOGONSERVER="\\\\YO-PC"
 INFO global: VAGRANT_OLD_ENV_NUMBER_OF_PROCESSORS="4"
 INFO global: VAGRANT_OLD_ENV_OneDrive="C:\\Users\\Yo\\OneDrive"
 INFO global: VAGRANT_OLD_ENV_OS="Windows_NT"
 INFO global: VAGRANT_OLD_ENV_Path="C:\\Program Files (standalone)\\cmder\\bin;C:\\Program Files (standalone)\\cmder\\vendor\\conemu-maximus5\\ConEmu\\Scripts;C:\\Program Files (standalone)\\cmder\\vendor\\conemu-maximus5;C:\\Program Files (standalone)\\cmder\\vendor\\conemu-maximus5\\ConEmu;C:\\Python36\\Scripts\\;C:\\Python36\\;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Crucial\\Crucial Storage Executive;C:\\Program Files (x86)\\Boxcryptor\\bin\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Calibre2\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\PuTTY\\;C:\\Program Files (x86)\\Gpg4win\\..\\GnuPG\\bin;C:\\Program Files\\Git\\cmd;C:\\HashiCorp\\Vagrant\\bin;C:\\Users\\Yo\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Yo\\Documents\\tech\\batfiles;C:\\Program Files (standalone)\\SysinternalsSuite;C:\\Program Files (x86)\\Minimal ADB and Fastboot;C:\\Program Files (x86)\\bin;C:\\Users\\Yo\\AppData\\Local\\atom\\bin;C:\\Users\\Yo\\AppData\\Local\\Microsoft\\WindowsApps;D:\\xampp\\php;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Program Files\\Git\\usr\\share\\vim\\vim74;C:\\Program Files (standalone)\\cmder\\"
 INFO global: VAGRANT_OLD_ENV_PATHEXT=".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW"
 INFO global: VAGRANT_OLD_ENV_PLINK_PROTOCOL="ssh"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_ARCHITECTURE="AMD64"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_IDENTIFIER="Intel64 Family 6 Model 30 Stepping 5, GenuineIntel"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_LEVEL="6"
 INFO global: VAGRANT_OLD_ENV_PROCESSOR_REVISION="1e05"
 INFO global: VAGRANT_OLD_ENV_ProgramData="C:\\ProgramData"
 INFO global: VAGRANT_OLD_ENV_ProgramFiles="C:\\Program Files"
 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_PROMPT="C\bL\bI\bN\bK\b \b$P$G"
 INFO global: VAGRANT_OLD_ENV_PSModulePath="C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules"  INFO global: VAGRANT_OLD_ENV_PUBLIC="C:\\Users\\Public"
 INFO global: VAGRANT_OLD_ENV_SVN_SSH="C:\\\\Program Files\\\\Git\\\\bin\\\\ssh.exe"
 INFO global: VAGRANT_OLD_ENV_SystemDrive="C:"
 INFO global: VAGRANT_OLD_ENV_SystemRoot="C:\\WINDOWS"
 INFO global: VAGRANT_OLD_ENV_TEMP="C:\\Users\\Yo\\AppData\\Local\\Temp"
 INFO global: VAGRANT_OLD_ENV_TERM="cygwin"
 INFO global: VAGRANT_OLD_ENV_TMP="C:\\Users\\Yo\\AppData\\Local\\Temp"
 INFO global: VAGRANT_OLD_ENV_user-aliases="C:\\Program Files (standalone)\\cmder\\config\\user-aliases.cmd"
 INFO global: VAGRANT_OLD_ENV_USERDOMAIN="YO-PC"
 INFO global: VAGRANT_OLD_ENV_USERDOMAIN_ROAMINGPROFILE="YO-PC"
 INFO global: VAGRANT_OLD_ENV_USERNAME="Yo"
 INFO global: VAGRANT_OLD_ENV_USERPROFILE="C:\\Users\\Yo"
 INFO global: VAGRANT_OLD_ENV_VAGRANT_HOME="D:\\vagrantHome"
 INFO global: VAGRANT_OLD_ENV_VBOX_MSI_INSTALL_PATH="C:\\Program Files\\Oracle\\VirtualBox\\"
 INFO global: VAGRANT_OLD_ENV_verbose-output="0 "
 INFO global: VAGRANT_OLD_ENV_windir="C:\\WINDOWS"
 INFO global: VAGRANT_OLD_ENV___COMPAT_LAYER="Installer"
 INFO global: Plugins:
 INFO global:   - vagrant-alpine = [installed: 0.3.0 constraint: > 0]
 INFO global:   - vagrant-box-updater = [installed: 0.0.3 constraint: > 0]
 INFO global:   - vagrant-digitalocean = [installed: 0.9.1 constraint: > 0]
 INFO global:   - vagrant-foodshow = [installed: 1.1.1 constraint: > 0]
 INFO global:   - vagrant-list = [installed: 0.0.6 constraint: > 0]
 INFO global:   - vagrant-multi-putty = [installed: 1.6.0 constraint: > 0]
 INFO global:   - vagrant-persistent-storage = [installed: 0.0.35 constraint: > 0]
 INFO global:   - vagrant-rdp = [installed: 0.6.0 constraint: > 0]
 INFO global:   - vagrant-share = [installed: 1.1.9 constraint: > 0]
 INFO global:   - vagrant-vbguest = [installed: 0.15.0 constraint: > 0]
 INFO global:   - vagrant-vultr = [installed: 0.1.2 constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-alpine" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-box-updater" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-digitalocean" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-foodshow" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-list" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-multi-putty" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-persistent-storage" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-rdp" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-share" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-vbguest" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-vultr" requirements="> 0">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["vagrant-alpine-0.3.0", "vagrant-box-updater-0.0.3", "log4r-1.1.10", "json-1.8.3", "multipart-post-2.0.0", "faraday-0.9.2", "vagrant-digitalocean-0.9.1", "vagrant-foodshow-1.1.1", "i18n-0.8.0", "vagrant-list-0.0.6", "putty-key-1.0.0", "vagrant-multi-putty-1.6.0", "vagrant-persistent-storage-0.0.35", "vagrant-rdp-0.6.0", "ruby_dep-1.3.1", "erubis-2.7.0", "builder-3.2.3", "gyoku-1.3.1", "nori-2.6.0", "multi_json-1.12.2", "little-plugger-1.1.4", "logging-2.2.2", "rubyntlm-0.6.2", "httpclient-2.8.3", "ffi-1.9.18", "gssapi-1.2.0", "winrm-2.2.3", "rubyzip-1.2.1", "winrm-fs-1.0.1", "winrm-elevated-1.1.0", "wdm-0.1.1", "netrc-0.11.0", "mime-types-data-3.2016.0521", "mime-types-3.1", "unf_ext-0.0.7.4", "unf-0.1.4", "domain_name-0.5.20170404", "http-cookie-1.0.3", "rest-client-2.0.2", "rb-kqueue-0.2.5", "net-ssh-4.1.0", "net-scp-1.2.1", "net-sftp-2.1.2", "hashicorp-checkpoint-0.1.4", "rb-inotify-0.9.10", "rb-fsevent-0.10.2", "listen-3.1.5", "childprocess-0.6.3", "vagrant-2.0.0", "vagrant-share-1.1.9", "micromachine-2.0.0", "vagrant-vbguest-0.15.0", "faraday_middleware-0.9.2", "vultr-0.3.4", "vagrant-vultr-0.1.2"]
DEBUG bundler: Activating gem vagrant-alpine-0.3.0
DEBUG bundler: Activating gem vagrant-box-updater-0.0.3
DEBUG bundler: Activating gem multipart-post-2.0.0
DEBUG bundler: Activating gem faraday-0.9.2
DEBUG bundler: Activating gem vagrant-digitalocean-0.9.1
DEBUG bundler: Activating gem vagrant-foodshow-1.1.1
DEBUG bundler: Activating gem vagrant-list-0.0.6
DEBUG bundler: Activating gem putty-key-1.0.0
DEBUG bundler: Activating gem vagrant-multi-putty-1.6.0
DEBUG bundler: Activating gem vagrant-persistent-storage-0.0.35
DEBUG bundler: Activating gem vagrant-rdp-0.6.0
DEBUG bundler: Activating gem vagrant-share-1.1.9
DEBUG bundler: Activating gem micromachine-2.0.0
DEBUG bundler: Activating gem vagrant-vbguest-0.15.0
DEBUG bundler: Activating gem faraday_middleware-0.9.2
DEBUG bundler: Activating gem vultr-0.3.4
DEBUG bundler: Activating gem vagrant-vultr-0.1.2
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/cap/plugin.rb
 INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/port/plugin.rb
 INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/powershell/plugin.rb
 INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/provider/plugin.rb
 INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/snapshot/plugin.rb
 INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/validate/plugin.rb
 INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/communicators/winssh/plugin.rb
 INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/amazon/plugin.rb
 INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/atomic/plugin.rb
 INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/bsd/plugin.rb
 INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/dragonflybsd/plugin.rb
 INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/elementary/plugin.rb
 INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/kali/plugin.rb
 INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/photon/plugin.rb
 INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/trisquel/plugin.rb
 INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-2.0.0/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
 INFO global: Loading plugins!
DEBUG global: Loading plugin `vagrant-alpine` with default require: `vagrant-alpine`
 INFO manager: Registered plugin: Alpine guest
DEBUG global: Successfully loaded plugin `vagrant-alpine`.
DEBUG global: Loading plugin `vagrant-box-updater` with default require: `vagrant-box-updater`
 INFO manager: Registered plugin: Vagrant BoxUpdater
DEBUG global: Successfully loaded plugin `vagrant-box-updater`.
DEBUG global: Loading plugin `vagrant-digitalocean` with default require: `vagrant-digitalocean`
 INFO manager: Registered plugin: DigitalOcean
DEBUG global: Successfully loaded plugin `vagrant-digitalocean`.
DEBUG global: Loading plugin `vagrant-foodshow` with default require: `vagrant-foodshow`
 INFO manager: Registered plugin: foodshow
DEBUG global: Successfully loaded plugin `vagrant-foodshow`.
DEBUG global: Loading plugin `vagrant-list` with default require: `vagrant-list`
 INFO manager: Registered plugin: List
DEBUG global: Successfully loaded plugin `vagrant-list`.
DEBUG global: Loading plugin `vagrant-multi-putty` with default require: `vagrant-multi-putty`
 INFO manager: Registered plugin: vagrant-multi-putty
DEBUG global: Successfully loaded plugin `vagrant-multi-putty`.
DEBUG global: Loading plugin `vagrant-persistent-storage` with default require: `vagrant-persistent-storage`
 INFO manager: Registered plugin: persistent_storage
DEBUG global: Successfully loaded plugin `vagrant-persistent-storage`.
DEBUG global: Loading plugin `vagrant-rdp` with default require: `vagrant-rdp`
 INFO manager: Registered plugin: RDP
DEBUG global: Successfully loaded plugin `vagrant-rdp`.
DEBUG global: Loading plugin `vagrant-share` with default require: `vagrant-share`
 INFO manager: Registered plugin: vagrant-share
DEBUG global: Successfully loaded plugin `vagrant-share`.
DEBUG global: Loading plugin `vagrant-vbguest` with default require: `vagrant-vbguest`
 INFO manager: Registered plugin: vagrant-vbguest
DEBUG global: Successfully loaded plugin `vagrant-vbguest`.
DEBUG global: Loading plugin `vagrant-vultr` with default require: `vagrant-vultr`
 INFO manager: Registered plugin: vagrant-vultr
DEBUG global: Successfully loaded plugin `vagrant-vultr`.
 INFO vagrant: `vagrant` invoked: ["box", "outdated", "--global", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x000000027a0038>)
 INFO environment:   - cwd: C:/Users/Yo
 INFO environment: Home path: D:/vagrantHome
DEBUG environment: Effective local data path:
 WARN environment: No local data path is set. Local data cannot be stored.
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 3 hooks defined.
 INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x0000000455f3f8>
 INFO environment: Running hook: environment_load
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 3 hooks defined.
 INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x00000004f0b640>
 INFO cli: CLI: [] "box" ["outdated", "--global"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandBox::Command::Root ["outdated", "--global"]
DEBUG root: Invoking command class: VagrantPlugins::CommandBox::Command::Outdated ["--global"]
DEBUG box_collection: Finding all boxes in: D:/vagrantHome/boxes
DEBUG box_collection: Box: alainvanhoof/alpine-virtual-x86_64-3.5 (virtualbox)
DEBUG box_collection: Box: bento/ubuntu-16.04 (virtualbox)
 INFO box_collection: Box found: bento/ubuntu-16.04 (virtualbox)
 INFO environment: Running hook: authenticate_box_url
 INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO host: Autodetecting host type for [#<Vagrant::Environment: C:/Users/Yo>]
DEBUG host: Trying: alt
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: 4 hooks defined.
 INFO runner: Running action: authenticate_box_url #<Vagrant::Action::Builder:0x000000041eb6e0>
 INFO warden: Calling IN action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x00000005876a68>
DEBUG client: No authentication token in environment or D:/vagrantHome/data/vagrant_login_token
 INFO warden: Calling OUT action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x00000005876a68>
 INFO box_collection: Box found: alainvanhoof/alpine-virtual-x86_64-3.5 (virtualbox)
 INFO environment: Running hook: authenticate_box_url
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 4 hooks defined.
 INFO runner: Running action: authenticate_box_url #<Vagrant::Action::Builder:0x00000005cd4808>
 INFO warden: Calling IN action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x00000005cdf0f0>
DEBUG client: No authentication token in environment or D:/vagrantHome/data/vagrant_login_token
 INFO warden: Calling OUT action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x00000005cdf0f0>
 INFO downloader: Downloader starting download:
 INFO downloader:   -- Source: https://atlas.hashicorp.com/bento/ubuntu-16.04
 INFO downloader:   -- Destination: C:/Users/Yo/AppData/Local/Temp/vagrant-load-metadata20171013-9404-1mu3j28
 INFO subprocess: Starting process: ["C:\\HashiCorp\\Vagrant\\embedded\\mingw64\\bin/curl.EXE", "-q", "--fail", "--location", "--max-redirs", "10", "--user-agent", "Vagrant/2.0.0 (+https://www.vagrantup.com; ruby2.3.4)", "-H", "Accept: application/json", "--output", "C:/Users/Yo/AppData/Local/Temp/vagrant-load-metadata20171013-9404-1mu3j28", "https://atlas.hashicorp.com/bento/ubuntu-16.04"]
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   116  100   116    0     0    116      0  0:00:01  0:00:01 --:--:--   106
DEBUG subprocess: stderr:
100 19874    0 19874    0     0   6624      0 --:--:--  0:00:03 --:--:-- 27679
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31996
DEBUG subprocess: Exit status: 0
 INFO interface: warn: * 'bento/ubuntu-16.04' is outdated! Current: 2.3.4. Latest: 201708.22.0
* 'bento/ubuntu-16.04' is outdated! Current: 2.3.4. Latest: 201708.22.0
 INFO downloader: Downloader starting download:
 INFO downloader:   -- Source: https://atlas.hashicorp.com/alainvanhoof/alpine-virtual-x86_64-3.5
 INFO downloader:   -- Destination: C:/Users/Yo/AppData/Local/Temp/vagrant-load-metadata20171013-9404-mootvc
 INFO subprocess: Starting process: ["C:\\HashiCorp\\Vagrant\\embedded\\mingw64\\bin/curl.EXE", "-q", "--fail", "--location", "--max-redirs", "10", "--user-agent", "Vagrant/2.0.0 (+https://www.vagrantup.com; ruby2.3.4)", "-H", "Accept: application/json", "--output", "C:/Users/Yo/AppData/Local/Temp/vagrant-load-metadata20171013-9404-mootvc", "https://atlas.hashicorp.com/alainvanhoof/alpine-virtual-x86_64-3.5"]
DEBUG subprocess: Selecting on IO

C:\Users\Yo> vagrant box outdated --global --debug                                                                
Exec error: exec: "C:\\HashiCorp\\Vagrant\\embedded\\mingw64\\bin\\ruby.exe": file does not exist      
trinadin commented 7 years ago

Same issue. Windows 10. After vagrant up on VVV.

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
    default: URL: https://vagrantcloud.com/ubuntu/trusty64
==> default: Adding box 'ubuntu/trusty64' (v20171023.0.0) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/ubuntu/boxes/trusty64/versions/20171023.0.0/providers/virtualbox.box
    default: Progress: 100% (Rate: 11.9M/s, Estimated time remaining: --:--:--)
==> default: Successfully added box 'ubuntu/trusty64' (v20171023.0.0) for 'virtualbox'!
==> default: Importing base box 'ubuntu/trusty64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Setting the name of the VM: vagrant-local
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.36
    default: VirtualBox Version: 5.1
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater] Writing the following entries to (C:/WINDOWS/system32/drivers/etc/hosts)
==> default: [vagrant-hostsupdater]   192.168.50.4  vvv  # VAGRANT: 42730583a95779fa113ffde7cc9f1a80 (default) / 4c288930-6fa9-4846-9913-d53a2c0c959e
==> default: [vagrant-hostsupdater]   192.168.50.4  vvv.dev  # VAGRANT: 42730583a95779fa113ffde7cc9f1a80 (default) / 4c288930-6fa9-4846-9913-d53a2c0c959e
==> default: [vagrant-hostsupdater]   192.168.50.4  local.wordpress.dev  # VAGRANT: 42730583a95779fa113ffde7cc9f1a80 (default) / 4c288930-6fa9-4846-9913-d53a2c0c959e
==> default: [vagrant-hostsupdater]   192.168.50.4  src.wordpress-develop.dev  # VAGRANT: 42730583a95779fa113ffde7cc9f1a80 (default) / 4c288930-6fa9-4846-9913-d53a2c0c959e
==> default: [vagrant-hostsupdater]   192.168.50.4  build.wordpress-develop.dev  # VAGRANT: 42730583a95779fa113ffde7cc9f1a80 (default) / 4c288930-6fa9-4846-9913-d53a2c0c959e
==> default: [vagrant-hostsupdater] This operation requires administrative access. You may skip it by manually adding equivalent entries to the hosts file.

D:\www\vvv_test\vagrant-local>vagrant halt
Exec error: exec: "D:\\HashiCorp\\Vagrant\\embedded\\mingw64\\bin\\ruby.exe": file does not exist
jakejackson1 commented 7 years ago

Same issue here in Windows 7 with Vagrant 2.0.1

My ruby.exe appears to get deleted during environment_unload:

 INFO environment: Running hook: environment_unload
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x0000000003a22e68>
jakejackson1 commented 7 years ago

I discovered the issue. Avast put ruby.exe in its virus chest.

logicalup commented 7 years ago

Bitdefender did the same. I suspect that it might be related to SMB type synced folder. Windows 10 here. Running from admin powershell with the following vagrantfile:

Vagrant.configure("2") do |config|
  config.vm.box = "centos/7"
  config.vm.network "private_network", ip: "10.10.11.2"
  config.vm.hostname = "bp.loc"
  config.vm.synced_folder "billing_portal", "/var/www/billing_portal",
    id: "bp-repo", 
    owner: "vagrant",
    group: "apache",
    type: "smb",
    smb_username: "myusername",
    smb_password: ""
  config.vm.synced_folder ".", "/vagrant", type: "smb", smb_username: "myusername", smb_password: ""
  config.vm.provision "shell", inline: <<-SHELL
        sudo yum clean all
    sudo yum -y update

    # Apache
    sudo yum -y install httpd
    sudo systemctl start httpd
    sudo systemctl enable httpd

    # MySql
    sudo yum -y install mariadb-server mariadb
    sudo systemctl start mariadb
    sudo systemctl enable mariadb.service

    # PHP
    sudo yum -y install php php-mysql php-soap

    # Memcached
    sudo yum -y install memcached

    # Add apache config
    sudo cp /vagrant/bp.conf /etc/httpd/conf.d/

    # Restart Apache
    sudo systemctl restart httpd.service

  SHELL
end
chrisroberts commented 6 years ago

Closing as this is generally caused by antivirus software.

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.