`vagrant share` command is missing

153 views
Skip to first unread message

jack

unread,
Apr 24, 2016, 3:13:13 AM4/24/16
to Vagrant
Hi,

I am using Ubuntu 16.04
My Vagrant version is 1.8.1.

I am trying to run the command `vagrant share` as in https://www.vagrantup.com/docs/share/

However, the command is not found. The output I am getting from `vagrant list-commands` is as such

Below is a listing of all available Vagrant commands and a brief
description of what they do.

box             manages boxes: installation, removal, etc.
cap             checks and executes capability
destroy         stops and deletes all traces of the vagrant machine
docker-logs     outputs the logs from the Docker container
docker-run      run a one-off command in the context of a container
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
list-commands   outputs all available Vagrant subcommands, even non-primary ones
login           log in to HashiCorp's Atlas
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
provider        show provider for this environment
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
rsync           syncs rsync synced folders to remote machine
rsync-auto      syncs rsync synced folders automatically when files change
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
vbguest         
version         prints current and latest Vagrant version

What happened to the `vagrant share` command?

Alvaro Miranda Aguilera

unread,
Apr 24, 2016, 6:44:51 AM4/24/16
to vagra...@googlegroups.com
Hello

Did you install the binary from vagrantup.com file ?

Sometimes the distribution repackage the file on their own and they decide to not include everything.

Thanks
Alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c7857f76-cb7f-4633-83e5-f6056c219251%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jack

unread,
Apr 24, 2016, 7:57:19 AM4/24/16
to Vagrant
Hi Alvaro,

I downloaded the Debian 64-bit from here https://www.vagrantup.com/downloads.html
Is that the right one?

Thanks

Alvaro Miranda Aguilera

unread,
Apr 25, 2016, 4:58:08 PM4/25/16
to vagra...@googlegroups.com
Hello, yes its

can you share the following output:

vagrant version
vagrant plugin list

if vagrant-share is not there try this

vagrant plugin install vagrant-share

Thanks
alvaro.

jack

unread,
Apr 25, 2016, 7:46:47 PM4/25/16
to Vagrant

Hi Alvaro,

These are the outputs for the commands

Output for vagrant version

Installed Version: 1.8.1

Vagrant was unable to check for the latest version of Vagrant.

Please check manually at http://www.vagrantup.com


Output for vagrant plugin list

 vagrant-vbguest (0.10.0)

Output for vagrant plugin install vagrant-share

Installing the 'vagrant-share' plugin. This can take a few minutes...
/usr/lib/ruby/2.3.0/rubygems/specification.rb:946:in `all=': undefined method `group_by' for nil:NilClass (NoMethodError)
 from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:275:in `with_isolated_gem'

 
from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:231:in `internal_install'
 from /usr/lib/ruby/vendor_ruby/vagrant/bundler.rb:102:in `
install'
 from /usr/lib/ruby/vendor_ruby/vagrant/plugin/manager.rb:62:in `block in install_plugin'

 
from /usr/lib/ruby/vendor_ruby/vagrant/plugin/manager.rb:72:in `install_plugin'
 from /usr/share/vagrant/plugins/commands/plugin/action/install_gem.rb:37:in `
call'
 from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:34:in `call'

 
from /usr/lib/ruby/vendor_ruby/vagrant/action/builder.rb:116:in `call'
 from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `
block in run'
 from /usr/lib/ruby/vendor_ruby/vagrant/util/busy.rb:19:in `busy'

 
from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `run'
 from /usr/share/vagrant/plugins/commands/plugin/command/base.rb:14:in `
action'
 from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:32:in `block in execute'

 
from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:31:in `each'
 from /usr/share/vagrant/plugins/commands/plugin/command/install.rb:31:in `
execute'
 from /usr/share/vagrant/plugins/commands/plugin/command/root.rb:56:in `execute'

 
from /usr/lib/ruby/vendor_ruby/vagrant/cli.rb:42:in `execute'
 from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:268:in `
cli'
 from /usr/bin/vagrant:173:in `<main>'




Thanks.

Regards,
Jack
Reply all
Reply to author
Forward
0 new messages