Vagrant: The box ‘ubuntu/trusty64’ could not be found

Автор: | 23/03/2016
 

vagrant-logo_7acd1165e16d4120b62515fa57fe29beПосле установки Vagrant из репозитория – возникает ошибка при запуске Ubuntu:

$ vagrant up
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 'ubuntu/trusty64' could not be found.

Больше деталей можно найти тут>>>.

Из репозитория устанавливается версия 1.4:

...
Setting up vagrant (1.4.3-1) ...
...

Загружаем последнюю версию со страницы загрузок Vagrant:

# cd /tmp/
# wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.deb

Удаляем предыдущую установку:

$ sudo apt-get remove vagrant

Устанавливаем 1.8:

$ sudo dpkg -i vagrant_1.8.1_x86_64.deb

Запускаем:

$ vagrant up
Vagrant is upgrading some internal state for the latest version.
Please do not quit Vagrant at this time. While upgrading, Vagrant
will need to copy all your boxes, so it will use a considerable
amount of disk space. After it is done upgrading, the temporary disk
space will be freed.

Press ctrl-c now to exit if you want to remove some boxes or free
up some disk space.

Press the Enter or Return key to continue.
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
...
==> default: Loading metadata for box 'ubuntu/trusty64'
    default: URL: https://atlas.hashicorp.com/ubuntu/trusty64
==> default: Adding box 'ubuntu/trusty64' (v20160314.0.2) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/20160314.0.2/providers/virtualbox.box
==> default: Successfully added box 'ubuntu/trusty64' (v20160314.0.2) for 'virtualbox'!
...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => /home/setevoy/VMs/ubuntu

Готово.