Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade vagrant precise32 to newer version?

Tags:

vagrant

ubuntu

I attempted to run a Vagrant machine but ran into errors because I had Vagrant 1.0.1 installed. I then uninstalled and installed Vagrant 1.2.2. However when I run vagrant up I get an error.

$ vagrant up

Bringing machine 'default' up with 'virtualbox' provider...
The box 'precise32' is still stored on disk in the Vagrant 1.0.x
format. This box must be upgraded in order to work properly with
this version of Vagrant.

I attempted vagrant init but also got an error.

$ vagrant init precise32 http://files.vagrantup.com/precise32.box

`Vagrantfile` already exists in this directory. Remove it before
running `vagrant init`.

How can I upgrade my precise32 box to a new version of Vagrant?

like image 685
Selah Avatar asked Jul 02 '13 15:07

Selah


People also ask

How do I install the latest version of vagrant?

To get started with Vagrant, download the appropriate installer or package for your platform from our Vagrant downloads page. Install the package with the standard procedures for your operating system.

How do I know my vagrant version?

Command: vagrant version If you only want to see the currently installed version, use vagrant --version .


1 Answers

Run

vagrant box repackage precise32 virtualbox
like image 143
chris.rickard Avatar answered Sep 23 '22 07:09

chris.rickard