vagrant
vagrant copied to clipboard
The box 'hashicorp/bionic64' could not be found
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
-
vagrant init hashicorp/bionic64 --box-version 1.0.282
-
vagrant up
References
- #5016
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.
For my case, it started working as soon as I turned off my work VPN.
Thank you very much!
2. vagrant up
Thank youu
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!
Its was my avast , thanks so much