I have been in the kitchen for 4 hours and came to read for a moment before getting a shower.
Why is there a ; in the repo names? Where did these repos come from? Did you add these repos from the Software Repository Selector or did they come from Discover?
OK, I had time to read further down, it looks as if these repos were added from Discover . I am not sure what to do to fix this at this time. @rugyada may know.
This topic took a different path and may be hard to follow.
Let’s try to fix the repository issue.
Did anyone ever whispered: DO NOT manage repository with Discover or dnfdragora?
(same goes for system upgrade. Forget that they exist)
I have the feeling that you did, so once the current issue is fixed please don’t do again
To restore the correct .repo files set you may want to download distro-release-repos-25.01-2-omv2501.znver1.rpm from [HERE]
assuming the system is ROME znver1.
Extract the rpm as an archive an copy the yum.repos.d content to your /etc/yum.repos.d/
Disable any additional repo (brave, librewolf, and/or the likes), sudo dnf clean all;dnf clean all;dnf repolist
you must have only OM repos.
Postedit:
do also
sudo rm -rf /var/cache/PackageKit/* /var/cache/app-info/*
sudo pkcon refresh force
Run the distro-sync command and check if it still complain about metadata.
Okay, I’ve done all that now. The original file openmandriva-rolling-znver1.repo is identical in it’s text to the backup BACKUP-REPO, as I checked there were no differences using a text-compare website. NEW-REPO has changes made to the text as I believe is supposed to be the case. And I’ve installed the new file and checked that the text matches the text in NEW-REPO just to be certain, and it does match.
Should I now run the command sudo dnf dsync --refresh again?
The Software Repository Selector GUI doesn’t list Mullvad or LibreWolf, it only lists Brave, which for some reason the GUI lists as being disabled. Do I need to disable them manually using command-line? If so, how do I do that?
Not sure where the others put their repo files configuration.
Probably the same place where Brave Browser does: /etc/yum.repos.d
You should find a line mentioning: enabled=1 to change to enabled=0
then run again sudo dnf clean all;dnf clean all;dnf repolist
Edit: What I originally posted was wrong. Looking. A simple way to disable any repo is to open the .repo file and change enabled=1 to enabled=0. Sorry for the confusion, I was either trying to work to fast or work on to many things at one time…
Sorry to extend this further, but, I managed to change enabled=1 to enabled=0 for Brave Browser and for Mullvad, but LibreWolf doesn’t have a line like that. This is the whole content of the librewolf.repo file, which by the way is located where you predicted it would be:
I don’t think that Librewolf repo is correct. It doesn’t look to be structured correctly and it is not named correctly. I am guessing that it came from Discover.