Karthik mathesh
Karthik mathesh

Reputation: 223

vm * the box 'hashicorp/precise64' could not be found in ubuntu

I Install Vagrant in Ubuntu System(14.04). When i entered " vagrant up " Comment Display Following Error.

Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm * the box 'hashicorp/precise64' could not be found

Upvotes: -1

Views: 852

Answers (2)

Frederic Henri
Frederic Henri

Reputation: 53793

you use a pretty old version of Vagrant - I suggest you update, up to date version today is 1.8.5

since vagrant 1.8x vagrant can download boxes from atlas and supports box versioning which your current version does not support. and the Vagrantfile you are using is incompatible with your version

If you can update - go ahead and update, it will work. (note the hashicorp/* boxes are somehow outdated too so I would recommend you switch to ubuntu/* which are up to date, in your case use ubuntu/precise64)

If you can't update (thats not my recommendation) - you will need to manually download the box (from this link) and add it to your vagrant boxes (the command will be vagrant box add --name ubuntu/precise64 <location of box file downloaded>) and remove thebox_versionfrom your Vagrantfile, you should be able to runvagrant up` after this

Upvotes: 0

k0chan
k0chan

Reputation: 731

Precise64 is Ubuntu Server 12.04 LTS. Check this out Ubuntu boxes.

Upvotes: 1

Related Questions