New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Image package builds an older version of libcurl which results in a failure when running VBoxManage
#11735
Comments
@zioalex - Your Vagrantfile is doing the check, not vagrant. It's right there above the And, assuming you want to leave it in, the check is wrong. It's saying that you can use VirtualBox 6.1.0 but the check itself includes that version as bad and aborts due to the Again, this is not something Vagrant is doing, but just something you have in your Vagrantfile. Hope that makes sense, thanks! |
Hi @briancain, How can I track done the broken ruby/gem version? |
I think this was closed too prematurely! |
Hey @zioalex - I believe it's because
vagrant@vagrant:~/test$ cat Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
puts "The version: #{Gem::Version.new(`/usr/bin/VBoxManage --version`.strip)}"
# Other vagrant stuff .... It seems like because the app image package is built against an older version of libcurl, it seems to be affecting the output of running system commands. For example, using the debian package, I don't get the same result:
It sounds like this should be fixed in the next release with an updated libcurl. But for now I'd remove the app image package and install the debian package instead. |
VBoxManage
@briancain , I downloaded the latest vagrant version because in Ubuntu doesn't exist yet the 2.2.9 version and I needed it. |
@zioalex - You can install the official debian package here: https://www.vagrantup.com/downloads The Vagrant package in Ubuntu repos will be pretty old and isn't updated very often. And yep, this issue will be tracking updating libcurl for the app image package here. |
it doesn't seem that the issue is fixed by using the debian package available from Vagrants download links. (https://releases.hashicorp.com/vagrant/2.2.9/vagrant_2.2.9_x86_64.deb) any other options to get vagrant to work on Debian Buster at this time? EDIT: please let me know if you need more information. error appears identical to original error, even after |
@jl2501 the 2.2.9 debian package ships a recent version of curl:
Do you have a debug log? |
well, cancel that. must be something I did to the env on the other machine. |
Vagrant version
vagrant version 2.2.7 and 2.2.9
Host operating system
Ubuntu 18.04
Guest operating system
Macos Cataline - but not relevant
Vagrantfile
Debug output
Expected behavior
The usual vagrant help output
Actual behavior
When I just run vagrant I get the follow error:
I identified the problem in the first if check:
But I do not understand why.
If I comment such lines vagrant works regularly so far.
I tried with the latest Vagrant 2.2.9 and cleaning up the ~/.vagrant.d dir but nothing change.
Steps to reproduce
vagrant
References
#9908
The text was updated successfully, but these errors were encountered: