-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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: fedora: incorrect instructions for dnf
#35979
Comments
Hi @johnstcn, Thank you for raising this issue and suggesting a potential solution. I can replicate the behavior on Fedora Linux 41, which uses DNF5. It appears that DNF4 compatibility was intentionally broken in favor of new sub-commands introduced in DNF5 (rpm-software-management/dnf5#405). This works on Fedora Linux 40, which uses DNF4. Regarding this change, the documentation on adding a repository appears only partially updated. I’ll submit a pull request to address this. Since F41 is the latest supported release, we’ll ensure this is fixed on our side as well. Thanks! |
Cross-reference for a documentation update in the Fedora docs: https://pagure.io/fedora-docs/quick-docs/pull-request/783 |
Thanks for the upstream PRs @bschaatsbergen ! |
Thank you for letting us know about this! |
This should also be changed in these docs here: https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli |
Terraform Version
Affected Pages
https://developer.hashicorp.com/terraform/install#linux
subsection "Fedora"
What is the docs issue?
Current Terraform install command referenced on https://developer.hashicorp.com/terraform/install#linux is:
Line 2 returns the following output:
What does work for me:
Looks like this was changed between dnf v3 and v5.
The Fedora project docs [1] are inconsistent on this subject and appear to reference both
dnf config-manager --add-repo
anddnf config-manager addrepo --repo-url
[1] https://docs.fedoraproject.org/en-US/quick-docs/adding-or-removing-software-repositories-in-fedora/#_adding_repositories
Additional information:
Proposal
References
rpm-software-management/dnf5#1537
The text was updated successfully, but these errors were encountered: