hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.02k stars 4.42k forks source link

APT repository does not include packages for Ubuntu 23.10 "Mantic Minotaur" #13289

Open maxime-bc opened 8 months ago

maxime-bc commented 8 months ago

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.

jmotto1993 commented 7 months ago

Bro, thank you so much for this post. This was driving me CRAZY.

maxime-bc commented 7 months ago

Glad I helped !

amruthvvkp commented 6 months ago

@maxime-bc You are a life-saver, this thing has been driving me nuts.