and now i am a little bit closer to the truth! reading man pages, in particular the man page for dnf5-config-manager reveals that there are so called ‘adjustments’ to the repository files. in particular /etc/dnf/repos.override.d/99-config_manager.repo.
so, no matter what /etc/yum.repos.d/*.repo contains, if there are ‘adjustments’, then those take precedence. that might explain why i was so confused about the ‘enabled=0/1’ misbehaviour, but doesn’t explain the URLs containing ‘25.11-1’.
The initial problem was using release instead of rolling.
The .repo files are definitely in /etc/yum.repos.d/. dnf determines which .repo file to use from the package distro-release-repos.
The following part I think I am correct on but not 100% positive:
AFAIK release is only for Rock point releases. AFAIK the only correct repos for ROME are rolling. So using release would look for a point release like 5.0 or 6.0 which are Rock releases. Somehow something told dnf to look for a point release for your system and it came up with 25.11-1 which does not exist but is the latest rolling release. I do not know why or how this happened. Maybe this is what happens when someone has rollingdistro-release* packages installed and somehow repo selector gets set to release. Definitely have not seen this before now.
I do understand how this happened now. The advice is if you are using cooker(Cooker) or rolling(ROME) do not even try to use release it won’t work and it will confuse the heck out of dnf. release can only work if you have a Rock system.
If you are using ROME(rolling) pay attention here to know when and when not to upgrade your system.
@ben79 as I understand the user never changed the Update channel, he just ticked to enable the /extra repo.
IF we get Release there after install, that’s something we are going to check soon.
Perhaps I can learn something here? This is a bit confusing because we do not know if @hemathor was using dnf4 or dnf5 because this literally changed in ROME today. I am guessing it would have been dnf5 because first post says "after the recent update of OMLx ROME ".
Anyway I just tested what I am posting here using a ROME system under dnf5 and Rock system under dnf4.
I do not thing this will do anything regardless of dnf4 or 5:
dnf config-manager <repo>.enabled=0
Either of these will work under dnf4:
dnf config-manager --disable <repo>
or dnf config-manager --set-disabled <repo>
I think this would work under dnf5:
dnf config-manager setopt <repo>.enabled=0
Something seems missing. Or I am missing something.