-
Notifications
You must be signed in to change notification settings - Fork 7.6k
dnf5 have no config-manager #21037
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
dnf5 have no config-manager #21037
Conversation
in the fedora 40 and above dnf5 is implemented and hence the dnf command listed in the docker will not work. I have updated the dnf command to dnf-3 as then you will be able to use the same.
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thanks! We published packages for Fedora 40, but it's not yet release, so we did not yet update the docs. Perhaps instead we should differentiate for Fedora 40 and up (dnf5) until Fedora 39 and older are EOL. For that we should check though if the bugs in dnf5 were fixed, as there was an issue in the current version of the Fedora 40 (beta) image that caused some things to fail; https://github.com/docker/docker-install/blob/6d51e2cd8c04b38e1c2237820245f4fc262aca6c/install.sh#L560-L569 (That bug was fixed, but was not yet included in the current fedora:40 images); |
Thank you and actually it is not about the Fedora 40. It is also about the variants of the Fedora such as SilverBlue and Ultramarine and Nobara, so people might find that docker is not working so i added it. If you merge then it would be ok or else we can close this comment. Adding a tag to that will actually help as some people ares still using the old version of the RedHat. Evening to all, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think explicitly calling dnf-3
seems like a good option for now, to retain compatibility with current and adjacent distros like silverblue, while also ensuring that the instruction remains as simple as possible. Fedora 39 reaches EOL on November 12th, I propose that we update this instruction to use dnf5 then, with a caution to users that do not yet have dnf5 to upgrade.
@dvdksn Thank you David and thank you approving the changes. This will actually help even for those containers which are using the older version of the fedora. I have just pushed a new fedora devops here https://github.com/codecreatede/fedora-devops and in the second release intgerating the dnf3 so that it will be easier on the old systems. Basically i will write a uname-a and then strings.Split(exec.Command("uname", "-a") and if the [0] is greater than time.Date().String then execute the dnf5 else dnf3. Thank you approving the changes to the docker docs. Tack, |
Thank you David for the merge into the main branch. @dvdksn |
I realized I had an "off by one"; it's Fedora 41 that uses dnf5 as default, which means we need to wait for Fedora 40 to reach EOL |
@thaJeztah than you and it happens. I am happy that you have merged the pull request. this is for the other users also and i thank you for the interaction and i look forward to interact with you all more. Have a good evening all, Gaurav |
…DNF3 instructions as backup ## Description With the widespread adoption of DNF5, I propose updating the Docker installation documentation to reflect modern package management standards on Fedora. I noticed a previous attempt to do DNF5 documentation (referencing docker#21037) ended in failure because the addrepo command was used incorrectly, referencing an older DNF3-4 notation instead of proper DNF5 `addrepo --from-repofile=` notation. I have corrected this mistake and suggest this quick documentation update since Fedora 42 will be in beta soon, encouraging more users to update to 41/42, where DNF5 will be the standard format going forward. I have also included the older command for legacy systems so that both cases are covered. I tested this change on a Fedora 41 KDE VM, and it works as expected. Since DNF5 is a complete rewrite in C++, replacing the Python-based DNF3/4, it offers improved performance and memory efficiency. Updating the documentation will help prevent confusion for users writing installation scripts while ensuring compatibility with the latest Fedora releases. ## Requested Review Please double-check to verify that I completed the URL correctly following Fedora's documentation standards, so it will be formatted properly on the website! Thanks!
in the fedora 40 and above dnf5 is implemented and hence the dnf command listed in the docker will not work. I have updated the dnf command to dnf-3 as then you will be able to use the same.
Description
Related issues or tickets
Reviews