Skip to content
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

docs: install: Put APT key into /etc/apt/keyrings #13585

Open
fumiyas opened this issue Jan 29, 2025 · 1 comment
Open

docs: install: Put APT key into /etc/apt/keyrings #13585

fumiyas opened this issue Jan 29, 2025 · 1 comment

Comments

@fumiyas
Copy link

fumiyas commented Jan 29, 2025

Install instruction for Ubuntu/Debian described at https://developer.hashicorp.com/vagrant/install shows:

wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) 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

This should be:

wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/hashicorp-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/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

Ubuntu or Debian's sources.list(5) manpage says:

The recommended locations for keyrings are
/usr/share/keyrings for keyrings managed by packages, and
/etc/apt/keyrings for keyrings managed by the system operator.

@Soot3
Copy link

Soot3 commented Feb 19, 2025

Up for this PR, but it looks like this particular page can't be edited from GitHub. Here's a previous issue #13498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants