OpenMandriva Lx release 25.11 (ROME) Rolling for x86_64
Desktop environment (KDE, LXQT…):
KDE
Description of the issue (screenshots if relevant):
after the recent update of OMLx ROME i wanted to install multitail. so i did was i was told and ran the ‘Software Repository Selector’ and enabled the extra repository. after that, i couldn’t refresh any repository any more. i then tried to disable the extra repo again with the ‘Software Repository Selector’, but couldn’t. why? because it was not selected! strange… so, messed around a little bit by selecting it again and again, hoping that i could deselect it afterwards, but with no luck.
then i used dnf config-manager <repo>.enabled=0 and this worked, but i still get the error message:
# dnf --refresh distro-sync --allowerasing
Updating and loading repositories:
brave 100% | 22.7 KiB/s | 2.0 KiB | 00m00s
OpenMandriva 25.11-1 - x86_64 100% | 352.0 B/s | 326.0 B | 00m01s
>>> Status code: 404 for http://mirror.openmandriva.org/25.11-1/repository/x86_64/main/release/repodata/repomd.xml (IP: 140.211.11.99) - http://mirror.openmandriva.org/25.11-1/repository/x86_64/main/release/repodata/repomd.xml
>>> Status code: 404 for http://abf-downloads.openmandriva.org/25.11-1/repository/x86_64/main/release/repodata/repomd.xml (IP: 140.211.169.10) - http://abf-downloads.openmandriva.org/25.11-1/repository/x86_64/main/release/repodata/repomd.xml
>>> Status code: 404 for http://mirror.openmandriva.org/25.11-1/repository/x86_64/main/release/repodata/repomd.xml (IP: 140.211.11.99) - http://mirror.openmandriva.org/25.11-1/repository/x86_64/main/release/repodata/repomd.xml
>>> Status code: 404 for http://abf-downloads.openmandriva.org/25.11-1/repository/x86_64/main/release/repodata/repomd.xml (IP: 140.211.169.10) - http://abf-downloads.openmandriva.org/25.11-1/repository/x86_64/main/release/repodata/repomd.xml
>>> Usable URL not found
Repositories loaded.
Nothing to do.
any help would be appreciated!
greetings…
Relevant information (hardware involved, software version, logs or output…):
i added the relevant content of /var/log/dnf5.log right after i enabled the extra repo for the first time in ‘Software Repository Selector’:
but i think the error is the 25.11-1 part in the URL. if i replace this with rolling, there is no 404 error any more. maybe someone forgot to add a redirect in the http server config?
the thing is: i have no clue where dnf5 gets its URLs from. it’s definitely NOT from /etc/yum.repos.d/*.repo, because i changed it there in openmandriva-rolling-x86_64.repo. maybe dnf caches it somewhere and doesn’t refresh its cache…
# dnf --refresh --releasever=rolling distro-sync --allowerasing
Updating and loading repositories:
brave 100% | 30.4 KiB/s | 2.0 KiB | 00m00s
OpenMandriva rolling - x86_64 100% | 2.0 MiB/s | 5.7 MiB | 00m03s
Repositories loaded.
Package Arch Version Repository Size
Upgrading:
lsb-release noarch 3.3-1.2511 release-x86_64 12.9 KiB
replacing lsb-release noarch 3.3-1.2506 rolling-x86_64 12.9 KiB
Transaction Summary:
Upgrading: 1 package
Replacing: 1 package
Total size of inbound packages is 13 KiB. Need to download 13 KiB.
After this operation, 0 B extra will be used (install 13 KiB, remove 13 KiB).
Is this ok [y/N]:
Operation aborted by the user.
so it seems, dnf uses the repo file /etc/yum.repos.d/openmandriva-release-x86_64.repo with the disabled (enabled=0) entry for [release-x86_64].
no worries! i only used the Repository Selector only because (a) i was told so, and (b) i was not familiar with dnf and/or OMLx. since i am generally more of a cli guy, i prefer typing instead of clicking. at least, when i am messing with system internals.
i never did anything! i plead ‘not guilty!’, your honor!
i just started to sniff around after the failure occurred. i suspect the infamous Repository Selector in combination with dnf’s mysterious source of repositories.
# dnf distro-sync --refresh --allowerasing
Updating and loading repositories:
OpenMandriva Rolling - x86_64 100% | 2.3 MiB/s | 5.7 MiB | 00m02s
Repositories loaded.
Package Arch Version Repository Size
Upgrading:
lsb-release noarch 3.3-1.2511 rolling-x86_64 12.9 KiB
replacing lsb-release noarch 3.3-1.2506 rolling-x86_64 12.9 KiB
Transaction Summary:
Upgrading: 1 package
Replacing: 1 package
Total size of inbound packages is 13 KiB. Need to download 13 KiB.
After this operation, 0 B extra will be used (install 13 KiB, remove 13 KiB).
Is this ok [y/N]:
Operation aborted by the user.
so it seems, it is working again!
but tbh i still cannot explain this! my impression was that dnf reads /etc/yum.repos.d/*.repo and selects all enabled repositories. instead it seems like the infamous Repository Selector takes precedence somehow…