How does one permanently enable a repo in dnf. I want to enable the contrib and contrib update repo’s. I know that I can enable a repo under dnfdragora, but that disappears after I close dnfdragora.
Chris
How does one permanently enable a repo in dnf. I want to enable the contrib and contrib update repo’s. I know that I can enable a repo under dnfdragora, but that disappears after I close dnfdragora.
Chris
$ sudo dnf config-manager --set-enabled cooker-x86_64-contrib
$ sudo dnf config-manager --set-enabled cooker-updates-x86_64-contrib
ngompa: Thanks a lot. That did the trick.
Chris
The below are informational “How To’s” which I wrote before I became familiar with the ‘sudo dnf config-manager --set-enabled/disabled’ command.
https://forum3.openmandriva.org/t/how-and-why-to-edit-repositories-for-dnf-lx-4-0-and-cooker/2246
And just for fun:
https://forum3.openmandriva.org/t/how-to-use-dnf-lx-4-0-and-cooker/2305
Thanks Ben, I hope that all this information will make its way into our dnf wiki.
Chris
I believe I should rewrite the one about editing repos. Though in fairness that one was written with Cooker in mind and the weird (IMO unnecessary) habit we have of including release repos that do not exist yet. Or maybe retitle it and write a new one.
That seems like a good idea.