The program 'vagrant' is currently not installed. To run 'vagrant' please ask your administrator to install the package 'vagrant'

721 views
Skip to first unread message

Karen Goh

unread,
Feb 25, 2019, 10:24:52 PM2/25/19
to Vagrant
I was able to log in to vagrant via vagrant ssh

so when I tried to check the port number I am getting vagrant is currently not installed

Hope someone can tell me why?

Last login: Sun Feb 24 08:29:29 2019 from 10.0.2.2
vagrant@vagrant-ubuntu-trusty-64:~$ finger vagrant
Login: vagrant                          Name:
Directory: /home/vagrant                Shell: /bin/bash
On since Tue Feb 26 03:17 (UTC) on pts/0 from 10.0.2.2
   5 seconds idle
No mail.
No Plan.
vagrant@vagrant-ubuntu-trusty-64:~$ vagrant port
The program 'vagrant' is currently not installed. To run 'vagrant' please ask your administrator to install the package 'vagrant'
vagrant@vagrant-ubuntu-trusty-64:~$ port vagrant
No command 'port' found, did you mean:
 Command 'poet' from package 'libpoet-perl' (universe)
 Command 'psort' from package 'radiance' (universe)
 Command 'pork' from package 'pork' (universe)
 Command 'sort' from package 'coreutils' (main)
port: command not found
vagrant@vagrant-ubuntu-trusty-64:~$ port vagrant student
No command 'port' found, did you mean:
 Command 'poet' from package 'libpoet-perl' (universe)
 Command 'psort' from package 'radiance' (universe)
 Command 'pork' from package 'pork' (universe)
 Command 'sort' from package 'coreutils' (main)
port: command not found
vagrant@vagrant-ubuntu-trusty-64:~$ vagrant port student
The program 'vagrant' is currently not installed. To run 'vagrant' please ask your administrator to install the package 'vagrant'
vagrant@vagrant-ubuntu-trusty-64:~$ vagrant ssh
The program 'vagrant' is currently not installed. To run 'vagrant' please ask your administrator to install the package 'vagrant'
vagrant@vagrant-ubuntu-trusty-64:~$ vagrant up
The program 'vagrant' is currently not installed. To run 'vagrant' please ask your administrator to install the package 'vagrant'
vagrant@vagrant-ubuntu-trusty-64:~$ vagrant halt
The program 'vagrant' is currently not installed. To run 'vagrant' please ask your administrator to install the package 'vagrant'
vagrant@vagrant-ubuntu-trusty-64:~$ vagrant resume
The program 'vagrant' is currently not installed. To run 'vagrant' please ask your administrator to install the package 'vagrant'
vagrant@vagrant-ubuntu-trusty-64:~$

Windows OS 10.

Brian Cain

unread,
Feb 26, 2019, 11:37:12 AM2/26/19
to vagra...@googlegroups.com
Hey there,

It looks like you are trying to run Vagrant inside a virtual machine. You have probably ssh'd into that Virtual Machine, where as Vagrant is installed on your host.

--
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/71509dc0-f12e-48da-965c-4fb725208d60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Brian Cain
Reply all
Reply to author
Forward
0 new messages