Cannot update repositories any more

Hey,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

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’:

dnf5.log.txt (55.8 KB)

if you need more info, i am happy to provide you with the necessary information.

1 Like

Please disable all third party repos first (Brave in your case)
You can enable it again later.

Then check with:

sudo dnf clean all
dnf repolist
Status code: 404...

may just mean bad timing, usually when repositories are sync-ing or such.
Try the good old fix: “try again later” :slight_smile:

hey,

thanks for your answer!

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…

greetings…

1 Like

Yes, noticed.

Please do ^^
and post the console output

hey,

# dnf clean all
Removed 4 files, 6 directories (total of 142 KiB). 0 errors occurred.

# dnf repolist
repo id                                                                                                                  repo name                                                                                                                                            
brave                                                                                                                    brave                                                                                                                                                
release-x86_64                                                                                                           OpenMandriva 25.11-1 - x86_64

# dnf --refresh distro-sync --allowerasing
Updating and loading repositories:
 OpenMandriva 25.11-1 - x86_64                                                                                                                                                                                                        100% | 204.0   B/s | 326.0   B |  00m02s
>>> 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                                                                                                                                                                                                                                                      
 brave                                                                                                                                                                                                                                100% |  30.3 KiB/s |  54.5 KiB |  00m02s
Repositories loaded.
Nothing to do.

i was blunt and added the distro-sync…

greetings…

1 Like

one more thing:

# dnf repo info
Updating and loading repositories:
 OpenMandriva 25.11-1 - x86_64                                                                                                                                                                                                        100% | 353.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.
Repo ID              : brave
Name                 : brave
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 172800 seconds (last: 2025-11-09 15:17:01)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/brave.repo
URLs                 : 
  Base URL           : https://brave-browser-rpm-release.s3.brave.com/x86_64/
OpenPGP              : 
  Keys               : https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 372
  Total packages     : 372
  Size               : 31.9 GiB
  Revision           : 1762456532
  Updated            : 2025-11-06 19:15:32

Repo ID              : release-x86_64
Name                 : OpenMandriva 25.11-1 - x86_64
Status               : enabled
Priority             : 99
Cost                 : 1000
Type                 : available
Metadata expire      : 172800 seconds (last: unknown)
Skip if unavailable  : true
Config file          : /etc/yum.repos.d/openmandriva-release-x86_64.repo
URLs                 : 
  Base URL           : http://mirror.openmandriva.org/25.11-1/repository/x86_64/main/release/ http://abf-downloads.openmandriva.org/25.11-1/repository/x86_64/main/release/
OpenPGP              : 
  Keys               : file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
  Verify repodata    : false
  Verify packages    : true
Repodata info        : 
  Available packages : 0
  Total packages     : 0
  Size               : 0.0   B
  Revision           : 
  Updated            : 1970-01-01 00:00:00

but:

# grep -F 'enabled=1' /etc/yum.repos.d/openmandriva-release-x86_64.repo

aka: nothing!

but:

# grep -F 'enabled=1' /etc/yum.repos.d/openmandriva-rolling-x86_64.repo 
enabled=1

and:

# grep -B 10 -F 'enabled=1' /etc/yum.repos.d/openmandriva-rolling-x86_64.repo
[rolling-x86_64]
name="OpenMandriva Rolling - x86_64"
baseurl=http://mirror.openmandriva.org/rolling/repository/x86_64/main/release/
        http://abf-downloads.openmandriva.org/rolling/repository/x86_64/main/release/
# Alternative if mirror.openmandriva.org is down
# mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=x86_64&repo=main&release=release
# fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
type=rpm-md
enabled=1

again: where does dnf get its URLs from???

greetings…

hey,

more info:

# 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].

i think, this is not the way it should be.

greetings…

From distro-release

Now for quick & dirty workaround here is the original content of
/etc/yum.repos.d/

yum.repos.d-rome.xz.tar.xz (3,1 KB)

Run sudo dnf clean all again to be sure all the cache is cleaned.
Then replace the repos files.

dnf repolist should then return the correct output

After you may want to reinstall

sudo dnf --refresh reinstall distro-release-* --allowerasing

again, to be sure you have everything set properly.

PS>
if the problem happened when you managed the repos with Repository Selector please don’t do it again as we need to confirm or not the issue.

It should not be set to “Release”. You will never have a need to set it to that unless you are testing something and are told to change it to that.

hey,

seems like it didn’t work:

# dnf repolist
repo id                                                                                                                  repo name                                                                                                                                            
release-x86_64                                                                                                           OpenMandriva 25.11-1 - x86_64

:man_shrugging:

greetings…

:woman_shrugging:

Sorry..

hey,

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.

greetings…

1 Like

What this is showing?

hey,

i never did anything! i plead ‘not guilty!’, your honor! :innocent:

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.

greetings…

1 Like

hey,

greetings…

Ok, what happens if you select ‘Rolling’ ?
You have the backup anyway.

hey,

i changed to ‘Rolling’, and then this happens:

# 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! :+1:

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…

greetings…

1 Like

Cool! :tada:

Ok then for the time being, while we try to reproduce the issue and investigate the reason please edit the repos file if needed.

Keep a backup of current working repo files, also :wink:

hey,

thank you for your help!

but, curious as i am, i immediately tried it again (enabling the extra repo), and:

a subsequent start of the infamous Repository Selector shows:

so it seems, there is a reason it is called the ‘Infamous Repository Selector’… :rofl:

ok… now, that i know how to repair it, i am a little bit more relaxed.

thanks for all your help!

greetings…

You’re welcome.

Same here. I’m curious to know how it happened.
Actually I’m testing in live iso and have to report that it works as expected there.

Next step is to test in installed system, hopefully catch what may be wrong, and finally release a fix.

Btw in your dnf5.log around line 250/251 it starts to mention `25.11-1. Maybe a starting point for debug (?)