HashiCorp now has an official repository which includes packages for Vagrant. This unofficial repository will be supported until April 30, 2021, after which time it will no longer be available. There will also be periodic brownouts during which attempting
apt-get update will return 503 Service Unavailable, to give advance notice before the repo goes permanently offline. If you have any questions about this, please open an issue on GitHub or email me at the address below.
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" sudo apt-get update
If you previously followed the instructions below to add the unofficial repository, remove that one with:
sudo rm /etc/apt/sources.list.d/wolfgang42-vagrant.list sudo apt-key del AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4
Important: You will also need to force apt to "downgrade" the installed package to the version in the official repository. The easiest way to do that is to uninstall and reinstall the package:
sudo apt-get remove vagrant && sudo apt-get update && sudo apt-get install vagrant
After doing this, run
dpkg -s vagrant and make sure that the reported version does not start with
1: — if it does you will not get any upgrades in the future!
(Why is this necessary? The packages from HashiCorp that this unofficial repository uses have an epoch, like
1:2.2.14. For some reason they dropped the epoch when creating packages for their new repository. As a result, after you remove the unofficial repository apt will think that the version you have installed is newer than any available from the official repository, and will never upgrade the package again.)
This is an unofficial Debian repository for Vagrant, hosted by Wolfgang Faust. You can see the code on GitHub. For questions/comments/complaints/praise/etc, open an issue there or email me at firstname.lastname@example.org.
This service provides the Apt index only; the actual Debian packages will be downloaded from the
HashiCorp releases server.
Releases are checked against the
HashiCorp security key,
and then resigned with my own automatic signing key.
(This is necessary because I need to sign the Apt index I generate.)
If you need it, here is the PGP public key I use to sign the repository:
The current Vagrant version is 2.2.14; the last check was 2021-01-18.
As per the deprecation notice above, please don't. However, if you must:You'll need to add the repository to your APT sources:
sudo bash -c 'echo deb https://vagrant-deb.linestarve.com/ any main > /etc/apt/sources.list.d/wolfgang42-vagrant.list' sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key AD319E0F7CFFA38B4D9F6E55CE3F3DE92099F7A4 D2BABDFD63EA9ECAB4E09C7228A873EA3C7C705F sudo apt-get updateNow install as usual:
sudo apt-get install vagrant