seems you are trying to run vagrant command inside the ubuntu guest that
runs into your osx host?

So, no need to do that.

Once you have your vagrant guest running, you use vagrant to automate the
setup of the vm (name, ip, networks, shared folders, fwd ports, etc)

then you use the vagrant provides (shell, puppet, chef, ansible, etc) to
setup the guest

then, once all is setup, you use the fwd port, or the private network
ip:port

if you connect to the guest as vagrant ssh, is no vagrant inside, as you
run vagrant in your host osx

not sure why you are expecting have vagrant installed in the virtual guest?
can you share your idea?



On Fri, May 16, 2014 at 9:20 PM, Lucy R <[email protected]>wrote:

> I've just got a new computer running Mac OSX Mavericks and I'm having a
> few problems installing Vagrant. I went through and tried to install it and
> it said:
>
> ==> default: Successfully added box 'hashicorp/precise32' (v1.0.0) for
> 'virtual box'!
>
> When I then typed vagrant up it said this:
>
> The program 'vagrant' is currently not installed.  You can install it by
> typing:
> sudo apt-get install vagrant
>
> So I tried sudo apt-get install vagrant but this resulted in this:
>
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
> vagrant@precise32:~$
>
> trying apt-get update gave me this:
>
> E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission
> denied)
>
> E: Unable to lock directory /var/lib/apt/lists/
>
> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
>
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> vagrant@precise32:~$
>
> I'm not sure what to do now. I tried typing Y but that didn't work so I
> typed yes and now it's just constantly coming up with y. It's now been ding
> this for around five minutes.
>
> I'd be grateful for any help or assistance with this.
>
> Thanks
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to