You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The box you're attempting to add has no available version that
matches the constraints you requested. Please double-check your
settings. Also verify that if you specified version constraints,
that the provider you wish to use is available for these constraints.
I followed exactly to the steps in the box page.
Run vagrant init bento/ubuntu-22.04 --box-version 202407.23.0
Modify the vagrantfile to
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-22.04"
config.vm.box_version = "202407.23.0"
end
then run vagrant up
The constraints is clearly in the available versions but it report can't find a match
This could be based on your provider. Unless you are running parallels or vmware_desktop the only available version is 202404.26.0. The error message from vagrant is a bit missleading...
Debug output
The box you're attempting to add has no available version that
matches the constraints you requested. Please double-check your
settings. Also verify that if you specified version constraints,
that the provider you wish to use is available for these constraints.
Box: bento/ubuntu-22.04
Address: https://vagrantcloud.com/api/v2/vagrant/bento/ubuntu-22.04
Constraints: 202407.23.0
Available versions: 202206.03.0, 202206.13.0, 202212.11.0, 202212.13.0, 202303.13.0, 202304.25.0, 202309.08.0, 202401.31.0, 202404.23.0, 202407.22.0, 202407.23.0
Expected behavior
I followed exactly to the steps in the box page.
Run vagrant init bento/ubuntu-22.04 --box-version 202407.23.0
Modify the vagrantfile to
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-22.04"
config.vm.box_version = "202407.23.0"
end
then run vagrant up
The constraints is clearly in the available versions but it report can't find a match
Actual behavior
Reproduction information
Vagrant version
vagrant 2.4.3 and vagrant 2.4.2
I've tried both.
Host operating system
mac with Apple M2
Guest operating system
bento/ubuntu-22.04
Steps to reproduce
Vagrantfile
The text was updated successfully, but these errors were encountered: