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

Invalid gemspec in [.......]: stack level too deep #9788

Closed
alimp5 opened this issue May 5, 2018 · 21 comments
Closed

Invalid gemspec in [.......]: stack level too deep #9788

alimp5 opened this issue May 5, 2018 · 21 comments

Comments

@alimp5
Copy link

alimp5 commented May 5, 2018

Hi Vagrant Team,

Vagrant version

Vagrant 2.0.2

Ruby version

ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]

Host operating system

Linux kali 4.15.0-kali2-amd64 #1 SMP Debian 4.15.11-1kali1 (2018-03-21) x86_64 GNU/Linux
I upgraded Kali to the last changes via dist-upgrade and upgrade with "apt-get" command.

Vagrantfile

as default. without modification.

Virtualbox

VirtualBox Graphical User Interface Version 5.2.8_Debian r120774
© 2004-2018 Oracle Corporation (Qt5.9.2)

behavior

root@kali:~# vagrant box add ubuntu/xenial64
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-libsodium.gemspec]: stack level too deep
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-libsodium.gemspec]: stack level too deep
==> box: Loading metadata for box 'ubuntu/xenial64'
    box: URL: https://vagrantcloud.com/ubuntu/xenial64
==> box: Adding box 'ubuntu/xenial64' (v20180504.0.0) for provider: virtualbox
    box: Downloading: https://vagrantcloud.com/ubuntu/boxes/xenial64/versions/20180504.0.0/providers/virtualbox.box
==> box: Successfully added box 'ubuntu/xenial64' (v20180504.0.0) for 'virtualbox'!
root@kali:~# vagrant box list
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-libsodium.gemspec]: stack level too deep
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-libsodium.gemspec]: stack level too deep
root@kali:~# 

Why the list is empty !??
Why I got this error or warning message for every vagrant command !?
How to fix it !?

Thanks in advance

@chrisroberts
Copy link
Member

Hi there,

This looks like a problem with your Vagrant installation. The specification warnings from the rbnacl-libsodium gemspec are not associated with Vagrant. How did you install Vagrant? Please also provide a gist of the output from: vagrant box list --debug.

Thanks!

@Ajay2007
Copy link

Ajay2007 commented May 8, 2018

Hey please will somebody give the answer for this question , I am having same problem too.

here is the ouput of the vagrant box list --debug

Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-libsodium.gemspec]: stack level too deep
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/tins-1.1.0.gemspec]: stack level too deep
INFO global: Vagrant version: 2.0.2
INFO global: Ruby version: 2.5.1
INFO global: RubyGems version: 2.7.6
INFO global: VAGRANT_NO_PLUGINS="1"
INFO global: VAGRANT_LOG="debug"
INFO global: resolv replacement has been enabled!
INFO global: Plugins:
INFO global: - vagrant-libvirt = [installed: undefined constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-libvirt" requirements="> 0">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["formatador-0.2.5", "excon-0.60.0", "builder-3.2.3", "fog-core-1.44.3", "nokogiri-1.8.2", "json-2.1.0", "ruby-libvirt-0.7.0", "fog-xml-0.1.1", "multi_json-1.12.1", "fog-json-1.0.0", "fog-libvirt-0.3.0", "vagrant-libvirt-0.0.43"]
DEBUG bundler: Activating gem formatador-0.2.5
DEBUG bundler: Activating gem excon-0.60.0
DEBUG bundler: Activating gem builder-3.2.3
DEBUG bundler: Activating gem fog-core-1.44.3
DEBUG bundler: Activating gem nokogiri-1.8.2
DEBUG bundler: Activating gem ruby-libvirt-0.7.0
DEBUG bundler: Activating gem fog-xml-0.1.1
DEBUG bundler: Activating gem multi_json-1.12.1
DEBUG bundler: Activating gem fog-json-1.0.0
DEBUG bundler: Activating gem fog-libvirt-0.3.0
DEBUG bundler: Activating gem vagrant-libvirt-0.0.43
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/communicators/winssh/plugin.rb
INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/communicators/winrm/plugin.rb
INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/ftp/plugin.rb
INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/heroku/plugin.rb
INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/atlas/plugin.rb
INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/local-exec/plugin.rb
INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/noop/plugin.rb
INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/slackware/plugin.rb
INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/darwin/plugin.rb
INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/null/plugin.rb
INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/suse/plugin.rb
INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/synced_folders/smb/plugin.rb
INFO manager: Registered plugin: SMB synced folders
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/synced_folders/rsync/plugin.rb
INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/synced_folders/nfs/plugin.rb
INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/providers/hyperv/plugin.rb
INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/providers/docker/plugin.rb
INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/file/plugin.rb
INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/docker/plugin.rb
INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/ansible/plugin.rb
INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/salt/plugin.rb
INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/cfengine/plugin.rb
INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/coreos/plugin.rb
INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/haiku/plugin.rb
INFO manager: Registered plugin: Haiku guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/windows/plugin.rb
INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/slackware/plugin.rb
INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/amazon/plugin.rb
INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/esxi/plugin.rb
INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/nixos/plugin.rb
INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/photon/plugin.rb
INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/mint/plugin.rb
INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/tinycore/plugin.rb
INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/darwin/plugin.rb
INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/funtoo/plugin.rb
INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/omnios/plugin.rb
INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/trisquel/plugin.rb
INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/atomic/plugin.rb
INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/kali/plugin.rb
INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/smartos/plugin.rb
INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/elementary/plugin.rb
INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/dragonflybsd/plugin.rb
INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/bsd/plugin.rb
INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/netbsd/plugin.rb
INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/solaris11/plugin.rb
INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/help/plugin.rb
INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/cap/plugin.rb
INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/version/plugin.rb
INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/validate/plugin.rb
INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/global-status/plugin.rb
INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/provider/plugin.rb
INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/push/plugin.rb
INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/port/plugin.rb
INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/list-commands/plugin.rb
INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/login/plugin.rb
INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/snapshot/plugin.rb
INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/powershell/plugin.rb
INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/rdp/plugin.rb
INFO manager: Registered plugin: rdp command
DEBUG global: Plugin loading is currently disabled.
INFO vagrant: vagrant invoked: ["box", "list", "--debug"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#Vagrant::Environment:0x000055601e9bb3c8)
INFO environment: - cwd: /home/ajay/Desktop/vagrant
INFO environment: Home path: /home/ajay/.vagrant.d
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: 1 hooks defined.
INFO runner: Running action: environment_plugins_loaded #Vagrant::Action::Builder:0x000055601e8d9d10
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:0x000055601e83d438
WARN checkpoint_client: checkpoint library not found. disabling.
INFO cli: CLI: [] "box" ["list"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandBox::Command::Root ["list"]
DEBUG checkpoint_client: waiting for checkpoint to complete...
DEBUG checkpoint_client: no information received from checkpoint
DEBUG root: Invoking command class: VagrantPlugins::CommandBox::Command::List []
DEBUG box_collection: Finding all boxes in: /home/ajay/.vagrant.d/boxes
DEBUG box_collection: Box: hashicorp/precise64 (virtualbox)
DEBUG box_collection: Box: ubuntu/trusty64 (virtualbox)
DEBUG box_collection: Box: ubuntu/trusty64 (virtualbox)
INFO interface: info: hashicorp/precise64 (virtualbox, 1.1.0)
hashicorp/precise64 (virtualbox, 1.1.0)
INFO interface: Machine: box-name ["hashicorp/precise64"]
INFO interface: Machine: box-provider [:virtualbox]
INFO interface: Machine: box-version ["1.1.0"]
INFO box_collection: Box found: hashicorp/precise64 (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: /home/ajay/Desktop/vagrant>]
DEBUG host: Trying: alt
DEBUG host: Trying: gentoo
DEBUG host: Trying: arch
DEBUG host: Trying: slackware
DEBUG host: Trying: freebsd
DEBUG host: Trying: darwin
DEBUG host: Trying: redhat
DEBUG host: Trying: suse
DEBUG host: Trying: windows
DEBUG host: Trying: linux
INFO host: Detected: linux!
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: authenticate_box_url #Vagrant::Action::Builder:0x000055601e6a6b38
INFO warden: Calling IN action: #VagrantPlugins::LoginCommand::AddAuthentication:0x0000556020a0c6e0
DEBUG client: No authentication token in environment or /home/ajay/.vagrant.d/data/vagrant_login_token
INFO warden: Calling OUT action: #VagrantPlugins::LoginCommand::AddAuthentication:0x0000556020a0c6e0
INFO interface: info: ubuntu/trusty64 (virtualbox, 20180328.0.0)
ubuntu/trusty64 (virtualbox, 20180328.0.0)
INFO interface: Machine: box-name ["ubuntu/trusty64"]
INFO interface: Machine: box-provider [:virtualbox]
INFO interface: Machine: box-version ["20180328.0.0"]
INFO box_collection: Box found: ubuntu/trusty64 (virtualbox)
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:0x000055602056c3b0
INFO warden: Calling IN action: #VagrantPlugins::LoginCommand::AddAuthentication:0x00005560205332e0
DEBUG client: No authentication token in environment or /home/ajay/.vagrant.d/data/vagrant_login_token
INFO warden: Calling OUT action: #VagrantPlugins::LoginCommand::AddAuthentication:0x00005560205332e0
INFO interface: info: ubuntu/trusty64 (virtualbox, 20180430.0.0)
ubuntu/trusty64 (virtualbox, 20180430.0.0)
INFO interface: Machine: box-name ["ubuntu/trusty64"]
INFO interface: Machine: box-provider [:virtualbox]
INFO interface: Machine: box-version ["20180430.0.0"]
INFO box_collection: Box found: ubuntu/trusty64 (virtualbox)
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:0x00005560200c6bf8
INFO warden: Calling IN action: #VagrantPlugins::LoginCommand::AddAuthentication:0x0000556020087598
DEBUG client: No authentication token in environment or /home/ajay/.vagrant.d/data/vagrant_login_token
INFO warden: Calling OUT action: #VagrantPlugins::LoginCommand::AddAuthentication:0x0000556020087598
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:0x000055601fd336d0

@alimp5
Copy link
Author

alimp5 commented May 9, 2018

Hi @chrisroberts

here you are:

root@kali:~# vagrant box list --debug
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-libsodium.gemspec]: stack level too deep
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rbnacl-libsodium.gemspec]: stack level too deep
 INFO global: Vagrant version: 2.0.2
 INFO global: Ruby version: 2.5.1
 INFO global: RubyGems version: 2.7.6
 INFO global: VAGRANT_NO_PLUGINS="1"
 INFO global: VAGRANT_LOG="debug"
 INFO global: resolv replacement has been enabled!
 INFO global: Plugins:
 INFO global:   - vagrant-libvirt = [installed: undefined constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-libvirt" requirements="> 0">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["excon-0.62.0", "builder-3.2.3", "formatador-0.2.5", "fog-core-1.44.3", "nokogiri-1.8.2", "json-2.1.0", "ruby-libvirt-0.7.0", "fog-xml-0.1.3", "multi_json-1.12.1", "fog-json-1.0.0", "fog-libvirt-0.5.0", "vagrant-libvirt-0.0.43"]
DEBUG bundler: Activating gem excon-0.62.0
DEBUG bundler: Activating gem builder-3.2.3
DEBUG bundler: Activating gem formatador-0.2.5
DEBUG bundler: Activating gem fog-core-1.44.3
DEBUG bundler: Activating gem nokogiri-1.8.2
DEBUG bundler: Activating gem ruby-libvirt-0.7.0
DEBUG bundler: Activating gem fog-xml-0.1.3
DEBUG bundler: Activating gem multi_json-1.12.1
DEBUG bundler: Activating gem fog-json-1.0.0
DEBUG bundler: Activating gem fog-libvirt-0.5.0
DEBUG bundler: Activating gem vagrant-libvirt-0.0.43
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/communicators/winssh/plugin.rb
 INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/atomic/plugin.rb
 INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/bsd/plugin.rb
 INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/trisquel/plugin.rb
 INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/dragonflybsd/plugin.rb
 INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/elementary/plugin.rb
 INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/haiku/plugin.rb
 INFO manager: Registered plugin: Haiku guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/photon/plugin.rb
 INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/kali/plugin.rb
 INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/guests/amazon/plugin.rb
 INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/port/plugin.rb
 INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/provider/plugin.rb
 INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/validate/plugin.rb
 INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/cap/plugin.rb
 INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/snapshot/plugin.rb
 INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/commands/powershell/plugin.rb
 INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Plugin loading is currently disabled.
 INFO vagrant: `vagrant` invoked: ["box", "list", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x00005566c2e41b40>)
 INFO environment:   - cwd: /root
 INFO environment: Home path: /root/.vagrant.d
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: 1 hooks defined.
 INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x00005566c2cc9b28>
 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:0x00005566c2bb7a28>
 WARN checkpoint_client: checkpoint library not found. disabling.
 INFO cli: CLI: [] "box" ["list"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandBox::Command::Root ["list"]
DEBUG checkpoint_client: waiting for checkpoint to complete...
DEBUG checkpoint_client: no information received from checkpoint
DEBUG root: Invoking command class: VagrantPlugins::CommandBox::Command::List []
DEBUG box_collection: Finding all boxes in: /root/.vagrant.d/boxes
DEBUG box_collection: Box: ubuntu/xenial64 (virtualbox)
 INFO interface: info: ubuntu/xenial64 (virtualbox, 20180504.0.0)
ubuntu/xenial64 (virtualbox, 20180504.0.0)
 INFO interface: Machine: box-name ["ubuntu/xenial64"]
 INFO interface: Machine: box-provider [:virtualbox]
 INFO interface: Machine: box-version ["20180504.0.0"]
 INFO box_collection: Box found: ubuntu/xenial64 (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: /root>]
DEBUG host: Trying: gentoo
DEBUG host: Trying: darwin
DEBUG host: Trying: arch
DEBUG host: Trying: slackware
DEBUG host: Trying: alt
DEBUG host: Trying: suse
DEBUG host: Trying: redhat
DEBUG host: Trying: freebsd
DEBUG host: Trying: bsd
DEBUG host: Trying: windows
DEBUG host: Trying: null
DEBUG host: Trying: linux
 INFO host: Detected: linux!
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: authenticate_box_url #<Vagrant::Action::Builder:0x00005566c25a2728>
 INFO warden: Calling IN action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x00005566bf5fbc68>
DEBUG client: No authentication token in environment or /root/.vagrant.d/data/vagrant_login_token
 INFO warden: Calling OUT action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x00005566bf5fbc68>
 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:0x00005566bf3d9200>

Thanks!

@alimp5
Copy link
Author

alimp5 commented May 30, 2018

Hi @chrisroberts

any update on topic !?

Thanks

@egonyuri
Copy link

egonyuri commented Jun 3, 2018

Heys Guys I found a solution,

Just update your vagrant that works. Download direct from the vagrant website and don't use the version of ubuntu repository (apt-get install vagrant). The ubuntu version is outdated.

@chrisroberts
Copy link
Member

Hi there,

@egonyuri is correct. Using the installer from the downloads page will resolve this issue. I'm not sure how you have Vagrant installed, but it does not appear to be from the official installers.

Cheers!

@gugacavalieri
Copy link

thanks @egonyuri

That solved it 👍 😄

@stadja
Copy link

stadja commented Aug 20, 2018

3 months later it still solved it @egonyuri : you rock.

@VickyRampin
Copy link

Same here, using Vagrant from Ubuntu repository, and it crashes with above error. It's good that your non-Ubuntu installer works, but you should be wary of supporting the Ubuntu packages as well (or remove them from the archive).

@briancain
Copy link
Member

Hey @VickySteeves - sorry the Ubuntu packages are broken! Unfortunately we at HashiCorp have no control over what version of Vagrant Ubuntu ships with, and therefore is not officially supported by us.

@rzr
Copy link

rzr commented Nov 2, 2018

It looks like it's affecting vagrant shipped in debian

@ginsburgnm
Copy link

Currently it looks like Hashicorp packages are also broken. Neither installation works, the Ubuntu packages actually seem less broken at the moment. because it's at least trying with the stack level too deep error. The hashicorp package just says it finds no vagrant executable.

@chrisroberts
Copy link
Member

@ginsburgnm Hi there. The current release of Vagrant functions as expected on Ubuntu. I just spun up a fresh system to validate:

vagrant@vagrant:~$ wget -q https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
vagrant@vagrant:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
vagrant@vagrant:~$ sudo dpkg -i ./vagrant_2.2.0_x86_64.deb 
Selecting previously unselected package vagrant.
(Reading database ... 41996 files and directories currently installed.)
Preparing to unpack ./vagrant_2.2.0_x86_64.deb ...
Unpacking vagrant (1:2.2.0) ...
Setting up vagrant (1:2.2.0) ...
vagrant@vagrant:~$ vagrant
WARNING: This command has been deprecated in favor of `vagrant cloud auth login`
Usage: vagrant [options] <command> [<args>]

    -v, --version                    Print the version and exit.
    -h, --help                       Print this help.

Common commands:
     box             manages boxes: installation, removal, etc.
     cloud           manages everything related to Vagrant Cloud
     destroy         stops and deletes all traces of the vagrant machine
     global-status   outputs status Vagrant environments for this user
     halt            stops the vagrant machine
     help            shows the help for a subcommand
     init            initializes a new Vagrant environment by creating a Vagrantfile
     login           
     package         packages a running vagrant environment into a box
     plugin          manages plugins: install, uninstall, update, etc.
     port            displays information about guest port mappings
     powershell      connects to machine via powershell remoting
     provision       provisions the vagrant machine
     push            deploys code in this environment to a configured destination
     rdp             connects to machine via RDP
     reload          restarts vagrant machine, loads new Vagrantfile configuration
     resume          resume a suspended vagrant machine
     snapshot        manages snapshots: saving, restoring, etc.
     ssh             connects to machine via SSH
     ssh-config      outputs OpenSSH valid configuration to connect to the machine
     status          outputs status of the vagrant machine
     suspend         suspends the machine
     up              starts and provisions the vagrant environment
     upload          upload to machine via communicator
     validate        validates the Vagrantfile
     version         prints current and latest Vagrant version
     winrm           executes commands on a machine via WinRM
     winrm-config    outputs WinRM configuration to connect to the machine

For help on any individual command run `vagrant COMMAND -h`

Additional subcommands are available, but are either more advanced
or not commonly used. To see all subcommands, run the command
`vagrant list-commands`.

vagrant@vagrant:~$

If you are having issues, ensure that any vagrant package is fully uninstalled and then install the official package again. It may be that a vagrant executable is in your PATH that should not be. After uninstalling vagrant, it should be easy to fine with a simple which vagrant or whereis vagrant.

Cheers!

@ginsburgnm
Copy link

ginsburgnm commented Nov 5, 2018

@chrisroberts
It does look like you're working on an older version than me. I'm on 18.04.1 (Released in July); you're on 18.04 (released in April); so you're a bit out of date.

$:wget -q https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
$:cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
$:sudo dpkg -i ./vagrant_2.2.0_x86_64.deb
Selecting previously unselected package vagrant.
(Reading database ... 326565 files and directories currently installed.)
Preparing to unpack ./vagrant_2.2.0_x86_64.deb ...
Unpacking vagrant (1:2.2.0) ...
Setting up vagrant (1:2.2.0) ...
$:vagrant
Traceback (most recent call last):
2: from /usr/local/bin/vagrant:23:in <main>' 1: from /usr/lib/ruby/2.5.0/rubygems.rb:308:in activate_bin_path'
/usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem vagrant (>= 0.a) with executable vagrant (Gem::GemNotFoundException)
$:which vagrant
/usr/local/bin/vagrant
$:echo $PATH
/home/n0g/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/n0g/.local/lib/python2.7/site-packages:/home/n0g/workspace/go_shit/go/bin:/home/n0g/.local/lib/python2.7/site-packages:/home/n0g/workspace/go_shit/go/bin
$:echo $PATH | grep vagrant
$:

--EDIT--
I would like to point out that previously vagrant did work on this machine. It stopped working, and I tried reinstalling. I believe the time it stopped working was around the time my organization upgrade us to the 18.04.1 release. However, I was not paying very close attention to that.
I have also not thrown out the possibility that some configuration my organization pushed out is the underlying problem either. That's completely a possibility.

@briancain
Copy link
Member

@ginsburgnm - Installing Vagrant 2.2.0 works for me on Ubuntu 18.04.1 LTS:

vagrant@vagrant:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
vagrant@vagrant:~$ curl -O https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38.2M  100 38.2M    0     0  5680k      0  0:00:06  0:00:06 --:--:-- 5338k
vagrant@vagrant:~$ sudo dpkg -i vagrant_2.2.0_x86_64.deb
Selecting previously unselected package vagrant.
(Reading database ... 42019 files and directories currently installed.)
Preparing to unpack vagrant_2.2.0_x86_64.deb ...
Unpacking vagrant (1:2.2.0) ...
Setting up vagrant (1:2.2.0) ...
vagrant@vagrant:~$ vagrant --help
WARNING: This command has been deprecated in favor of `vagrant cloud auth login`
Usage: vagrant [options] <command> [<args>]

    -v, --version                    Print the version and exit.
    -h, --help                       Print this help.

Common commands:
     box             manages boxes: installation, removal, etc.
     cloud           manages everything related to Vagrant Cloud
     destroy         stops and deletes all traces of the vagrant machine
     global-status   outputs status Vagrant environments for this user
     halt            stops the vagrant machine
     help            shows the help for a subcommand
     init            initializes a new Vagrant environment by creating a Vagrantfile
     login
     package         packages a running vagrant environment into a box
     plugin          manages plugins: install, uninstall, update, etc.
     port            displays information about guest port mappings
     powershell      connects to machine via powershell remoting
     provision       provisions the vagrant machine
     push            deploys code in this environment to a configured destination
     rdp             connects to machine via RDP
     reload          restarts vagrant machine, loads new Vagrantfile configuration
     resume          resume a suspended vagrant machine
     snapshot        manages snapshots: saving, restoring, etc.
     ssh             connects to machine via SSH
     ssh-config      outputs OpenSSH valid configuration to connect to the machine
     status          outputs status of the vagrant machine
     suspend         suspends the machine
     up              starts and provisions the vagrant environment
     upload          upload to machine via communicator
     validate        validates the Vagrantfile
     version         prints current and latest Vagrant version
     winrm           executes commands on a machine via WinRM
     winrm-config    outputs WinRM configuration to connect to the machine

For help on any individual command run `vagrant COMMAND -h`

Additional subcommands are available, but are either more advanced
or not commonly used. To see all subcommands, run the command
`vagrant list-commands`.

vagrant@vagrant:~$ vagrant --version
Vagrant 2.2.0

@ginsburgnm
Copy link

I'll just assume there's a conflict with something my org is doing. because, same version of vagrant and ubuntu. different results.
$: apt list --installed | grep vagrant
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
vagrant/now 1:2.2.0 amd64 [installed,local]

@chrisroberts
Copy link
Member

@ginsburgnm The output you provided above shows this path in the error message:

/usr/local/bin/vagrant

which then goes on to mention the path:

/usr/lib/ruby/2.5.0/rubygems.rb

The Vagrant executable at /usr/local/bin/vagrant is not something that our Vagrant package provides and is likely a remnant of the system vagrant package that you installed which was not cleaned up correctly. Removing that file should get the correct Vagrant executable to be picked up.

@ginsburgnm
Copy link

@chrisroberts that was exactly it.

@vranki
Copy link

vranki commented Nov 22, 2018

I created a bug in Ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+source/vagrant/+bug/1804626

@maratbn
Copy link

maratbn commented Apr 14, 2019

In my case this was caused by trying to install Vagrant from source on an Ubuntu 18.04 system, and then abandoning that attempt and trying to go back to the regular Ubuntu Vagrant.

I think that installed a bunch of extraneous Ruby gems that caused conflicts with the regular Ubuntu Vagrant.

The way I found these incompatible gems is by running this command to find gems not tracked by the package manager:

comm -23 <(find / -xdev -type f|sort) <(sort /var/lib/dpkg/info/*.list) | grep gem

This told me I had a whole bunch of untracked gems under /var/lib/gems/2.5.0. So I got rid of the 2.5.0 directory, and the regular Ubuntu Vagrant started working fine.

@ghost
Copy link

ghost commented Jan 28, 2020

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.

@ghost ghost locked and limited conversation to collaborators Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests