Open johnstcn opened 2 days ago
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 (https://github.com/rpm-software-management/dnf5/issues/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 !
Thanks for the upstream PRs @bschaatsbergen !
Thank you for being awesome and letting us know about this!
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
https://github.com/rpm-software-management/dnf5/issues/1537