Roots Discourse

Can't access bento/ubuntu-16.04


#1

I’m getting an error that says that bento/ubuntu-16.04 is not available.

➜ vagrant up
The box ‘bento/ubuntu-16.04’ could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp’s Atlas, please verify you’re logged in via
vagrant login. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: [“https://atlas.hashicorp.com/bento/ubuntu-16.04”]
Error:

Changing the box to: ubuntu/trusty64 works does start the download, so it doesn’t seem to have anything to do with my vagrant install. I’ve tried while both logged into and out of vagrant/atlas.

I tried vagrant init bento/ubuntu-16.04; vagrant up --provider virtualbox in a new directory with the same error.

The box does appear to be on their site, I tried bumping the box version to 2.3.0, with no improvement. I just installed the latest versions of everything:

Vagrant 1.8.7
VBox 5.0.28 r111378
I have the vagrant plugins installed recently.

Is this box private?


#2

I’m also getting this error - would love to know how to work around it - is a Hashicorp subscription required?

Edit: here is a screenshot of the box on the atlas site, apparently available, but still having that error.


#3

Has anyone else experienced this?


#4

I just got the same error. The docs say to use 1.8.5 of Vagrant so I installed that and it seems to be working.

Here are the Vagrant archives https://releases.hashicorp.com/vagrant/


#5

Awesome, thanks @AyeZee33, i’ll give that a shot.


#6

Interesting, might verify this myself and we’d be specific about 1.8.5 in the requirements if so.


#7

Got around the issue by running sudo rm /opt/vagrant/embedded/bin/curl

Thanks to @kregenrek ( Vagrant) Box could not be found


#8

Confirmed that 1.8.5 worked for me as well. Thanks @AyeZee33


#9

1.8.5 also worked for me @AyeZee33

I’ll also add that just running vagrant up wasn’t enough for me, i received the following error:

A Vagrant environment or target machine is required to run this
command. Run `vagrant init` to create a new Vagrant environment. Or,
get an ID of a target machine from `vagrant global-status` to run
this command on. A final option is to change to a directory with a
Vagrantfile and to try again. 

Turns out the following command was necessary (initialising vagrant, and then choosing a box and a provider:

vagrant init bento/ubuntu-16.04; vagrant up --provider virtualbox


#10

I had this issue also. @pitkane’s suggestion worked for me.


#11

I needed to run this command today to start the vagrant box. Vagrant version is 1.8.7.


#12

This is going to be an issue until Vagrant 1.8.8. See:


#13

This also worked for me. Thanks!


#14

updated my vagrant to 1.8.5 but still no luck … any other solutions?
STDOUT: Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Box ‘bento/ubuntu-16.04’ could not be found. Attempting to find and install…
default: Box Provider: virtualbox
default: Box Version: >= 0
STDERR: The box ‘bento/ubuntu-16.04’ could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp’s Atlas, please verify you’re logged in via
vagrant login. Also, please double-check the name. The expanded
URL and error message are shown below:


#15

@rupak_dutta This is a pretty old thread where the original issue appears to resolved. I think you must be running into something new.

Could you try the suggestions below? If it doesn’t work out, please start a new thread. Thanks!


#16