vagrant
vagrant copied to clipboard
APT repository does not include packages for Ubuntu 23.10 "Mantic Minotaur"
Hello, I think that this is the same issue as #13173, but this time with Ubuntu 23.10.
On a fresh Ubuntu 23.10 install, I copied and pasted the installation command from the Vagrant download page, resulting in the following error:
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install vagrant
Hit:1 http://fr.archive.ubuntu.com/ubuntu mantic InRelease
Hit:2 http://packages.microsoft.com/repos/code stable InRelease
Get:3 http://fr.archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
Hit:4 http://fr.archive.ubuntu.com/ubuntu mantic-backports InRelease
Hit:5 http://security.ubuntu.com/ubuntu mantic-security InRelease
Get:6 http://fr.archive.ubuntu.com/ubuntu mantic-updates/main amd64 DEP-11 Metadata [7 244 B]
Ign:7 https://apt.releases.hashicorp.com mantic InRelease
Get:8 http://fr.archive.ubuntu.com/ubuntu mantic-updates/universe amd64 DEP-11 Metadata [3 864 B]
Err:9 https://apt.releases.hashicorp.com mantic Release
404 Not Found [IP: 99.86.91.49 443]
Reading package lists... Done
E: The repository 'https://apt.releases.hashicorp.com mantic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details
As a fix, I replaced mantic (23.10) with lunar (23.04) in /etc/apt/sources.list.d/hashicorp.list and Vagrant installed without any issue.
Bro, thank you so much for this post. This was driving me CRAZY.
Glad I helped !
@maxime-bc You are a life-saver, this thing has been driving me nuts.