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
HashiCorp APT repository does not include packages for Ubuntu 22.04 LTS ("jammy") #31826
Comments
Hi @IgalSc! Thanks for reporting this. I don't think our apt repository has packages for Ubuntu 22.04 "jammy" yet; it isn't one of the distributions listed in the APT packages documentation. I'm going to label this issue as a request to add support for this new distribution, since it is of course reasonable to expect that packages should be available for the latest LTS release of Ubuntu. The apt repository is not under the control of the team which works in this repository (there is a separate release engineering team which manages that across all HashiCorp products) but we can relay this request to them and then close it once they've confirmed that support for the new distribution is available. Thanks again! |
In the meantime, I think you could make this work by editing your apt sources file and changing "jammy" to "impish", to install the packages for Ubuntu 21.10. In practice all of the Terraform packages across all apt-based distributions have identical content and only differing metadata, because Terraform CLI executables depend only on the Linux kernel system call interface and so don't need to vary between Linux distributions. The tutorial you followed creates the apt sources file at
My suggestion is to replace "jammy" with "impish", like this:
Note that although the Terraform packages are not distribution-version-sensitive, that isn't necessarily true for other HashiCorp products in this repository. If you intend to install other products beyond Terraform then I can't promise that the "impish" builds for those will work on your system; for those you may need to wait until there's real support for Ubuntu 22.04 in the repository. |
Thank you ! |
To work around hashicorp/terraform#31826, download terraform binary directly instead of using Hashicorp APT repo. Signed-off-by: Cian Johnston <cian@coder.com>
Download terraform binary directly instead of using Hashicorp APT repo. Workaround for hashicorp/terraform#31826 Signed-off-by: Cian Johnston <cian@coder.com> Co-authored-by: Ben Potter <ben@coder.com>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version
Terraform Configuration Files
Debug Output
N/A
Expected Behavior
install the terraform using the official guide
https://learn.hashicorp.com/tutorials/terraform/install-cli
Actual Behavior
running
sudo apt update
i get an errorSteps to Reproduce
follow the installation guide on Ubuntu 22.04 LTS
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: