vagrant icon indicating copy to clipboard operation
vagrant copied to clipboard

The box 'hashicorp/bionic64' could not be found

Open baurine opened this issue 3 years ago • 6 comments

Same issue as #5016, and the solution in https://github.com/hashicorp/vagrant/issues/5016#issuecomment-260220289 supplied in 2016 still works.

Vagrant version

$ vagrant -v
Vagrant 2.2.19

Installed it just before meeting this issue.

Host operating system

Ubuntu 20.04

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/bionic64"
  config.vm.box_version = "1.0.282"
end

This Vagrantfile is auto-generated by vagrant init hashicorp/bionic64 --box-version 1.0.282 command.

Expected behavior

$ vagrant init hashicorp/bionic64 \
  --box-version 1.0.282
$ vagrant up

==> default: Box 'hashicorp/bionic64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: 1.0.282
==> default: Loading metadata for box 'hashicorp/bionic64'
    default: URL: https://vagrantcloud.com/hashicorp/bionic64
==> default: Adding box 'hashicorp/bionic64' (v1.0.282) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/hashicorp/boxes/bionic64/versions/1.0.282/providers/virtualbox.box
Progress: 3% (Rate: 1032k/s, Estimated time remaining: 0:09:32)

Actual behavior

$ vagrant init hashicorp/bionic64 \
  --box-version 1.0.282
$ vagrant up

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/bionic64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: 1.0.282

^C==> default: Waiting for cleanup before exiting...
The box 'hashicorp/bionic64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, 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://vagrantcloud.com/hashicorp/bionic64"]
Error:

Steps to reproduce

  1. vagrant init hashicorp/bionic64 --box-version 1.0.282
  2. vagrant up

References

  • #5016

baurine avatar Dec 27 '21 02:12 baurine

I use the Kaspersky Antivirus and disable him, worked. Try to deactivate your antivirus, delete all archives created by Vagrant from terminal, after try all it again. Here worked.

victrteixeira avatar Jun 22 '22 17:06 victrteixeira

For my case, it started working as soon as I turned off my work VPN.

frankpengau avatar Jul 27 '22 01:07 frankpengau

Thank you very much!

AChalukov avatar Sep 26 '22 20:09 AChalukov

2. vagrant up

Thank youu

birvagangurde avatar Apr 29 '23 04:04 birvagangurde

I use the Kaspersky Antivirus and disable him, worked. Try to deactivate your antivirus, delete all archives created by Vagrant from terminal, after try all it again. Here worked.

This was the issue for me, disabled the Kaspersky, and it's done!

rintoug avatar Jul 09 '23 12:07 rintoug

Its was my avast , thanks so much

hugoodesa avatar Oct 03 '23 21:10 hugoodesa