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

Linux repository doesn't works on Fedora 40 #35068

Open
bitchecker opened this issue Apr 23, 2024 · 6 comments
Open

Linux repository doesn't works on Fedora 40 #35068

bitchecker opened this issue Apr 23, 2024 · 6 comments
Labels
enhancement new new issue not yet triaged

Comments

@bitchecker
Copy link

Terraform Version

Terraform v1.8.1
on linux_amd64

Terraform Configuration Files

[hashicorp]
name=Hashicorp Stable - $basearch
baseurl=https://rpm.releases.hashicorp.com/fedora/$releasever/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://rpm.releases.hashicorp.com/gpg

[hashicorp-test]
name=Hashicorp Test - $basearch
baseurl=https://rpm.releases.hashicorp.com/fedora/$releasever/$basearch/test
enabled=0
gpgcheck=1
gpgkey=https://rpm.releases.hashicorp.com/gpg

Debug Output

no debug output to show

Expected Behavior

The expected behavior is to be able to update packages

Actual Behavior

Errors during downloading metadata for repository 'hashicorp':

Steps to Reproduce

  1. Install Fedora 40
  2. Install hashicorp Linux repository
  3. Try to install terraform

Additional Context

The repository working fine with Fedora 39.

References

No response

@bitchecker bitchecker added bug new new issue not yet triaged labels Apr 23, 2024
@bitchecker bitchecker changed the title Linux repository doesn't works on Fedora Linux repository doesn't works on Fedora 40 Apr 23, 2024
@crw
Copy link
Collaborator

crw commented Apr 24, 2024

Per the Official Packaging Guide, Fedora 40 is not yet supported.

@crw crw added enhancement and removed bug labels Apr 24, 2024
@ankon
Copy link

ankon commented Apr 25, 2024

Similar to hashicorp/vault#26643 for vault.

@schaden-fred
Copy link

If you need to get around this for now, download the binary directly from https://developer.hashicorp.com/terraform/install, extract it, and drop it in /usr/local/bin or somewhere else in your path.

@ankon
Copy link

ankon commented Apr 28, 2024

True, that works. Although if you want to stick to RPMs and managing your setup using that, the easier approach is to replace $releasever in the .repo file with 39. The Fedora 39 binary will work on 40. When the 40 repo is available you can just reset that, and dnf/yum/rpm should work out the update path.

@Elyytscha
Copy link

Elyytscha commented Apr 29, 2024

no terraform on fedora 40? this blocks my work workflow because i need to constantly install newer and older terraform versions because of loads of terraform repos with different versions. As IBM owns now hashicorp and redhat, I hope really they will sort such problems out in the future..

@ratuka
Copy link

ratuka commented May 3, 2024

still no fedora 40 repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new new issue not yet triaged
Projects
None yet
Development

No branches or pull requests

6 participants