Greetings, I’m on ROME 25.01 Plasma 6. Essentially I was trying to make the OM repo packages not appear in Discover app store (so that only flatpaks are visible), and I’ve assumed that the checkboxes found in Discover sidebar>Settings entry only toggle visibility. turns out they disable the repositories (great UX). Obviously things are now broken since the OM welcome app does say “Please use only Software Repository Selector to enable/disable repositories”…
Getting these errors in the terminal when trying dnf dsync --refresh
[t@openmandriva ~]$ sudo dnf dsync --refresh
[sudo] password for t:
OpenMandriva Rolling - x86_64 1.8 B/s | 10 B 00:05
Errors during downloading metadata for repository 'rolling-x86_64':
- Status code: 404 for http://mirror.openmandriva.org/rolling/repository/x86_64/main/release/;http:/abf-downloads.openmandriva.org/rolling/repository/x86_64/main/release/repodata/repomd.xml (IP: 140.211.11.99)
Error: Failed to download metadata for repo 'rolling-x86_64': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
OpenMandriva Rolling - Extra - x86_64 2.1 B/s | 10 B 00:04
Errors during downloading metadata for repository 'rolling-x86_64-extra':
- Status code: 404 for http://mirror.openmandriva.org/rolling/repository/x86_64/extra/release/;http:/abf-downloads.openmandriva.org/rolling/repository/x86_64/extra/release/repodata/repomd.xml (IP: 140.211.11.99)
Error: Failed to download metadata for repo 'rolling-x86_64-extra': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
OpenMandriva Rolling - Restricted - x86_64 3.8 B/s | 10 B 00:02
Errors during downloading metadata for repository 'rolling-x86_64-restricted':
- Status code: 404 for http://mirror.openmandriva.org/rolling/repository/x86_64/restricted/release/;http:/abf-downloads.openmandriva.org/rolling/repository/x86_64/restricted/release/repodata/repomd.xml (IP: 140.211.11.99)
Error: Failed to download metadata for repo 'rolling-x86_64-restricted': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
OpenMandriva Rolling - Non-free - x86_64 3.8 B/s | 10 B 00:02
Errors during downloading metadata for repository 'rolling-x86_64-non-free':
- Status code: 404 for http://mirror.openmandriva.org/rolling/repository/x86_64/non-free/release/;http:/abf-downloads.openmandriva.org/rolling/repository/x86_64/non-free/release/repodata/repomd.xml (IP: 140.211.11.99)
Error: Failed to download metadata for repo 'rolling-x86_64-non-free': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
WineHQ packages 3.1 kB/s | 3.0 kB 00:00
Ignoring repositories: rolling-x86_64, rolling-x86_64-extra, rolling-x86_64-restricted, rolling-x86_64-non-free
Dependencies resolved.
I did try turning them on and off in the OM repository picker after this, no dice though. What would be the proper fix?
This is why we constantly stress the importance of the OM-Welcome app.
The repos are stored in /etc/yum.repos.d and these are the ones I have. One is important. Yours will not have the znver1, but will have x86_64 in the name.
There are a lot of repos installed but only 3 of them are usually enabled=1.
Here is the content of mine to go by.
[rolling-znver1]
name="OpenMandriva Rolling - znver1"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/main/release/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/main/release/
# Alternative if mirror.openmandriva.org is down
# mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=main&release=release
# fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
type=rpm-md
enabled=1
[rolling-testing-znver1]
name="OpenMandriva Rolling - znver1 - Testing"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/main/testing/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/main/testing/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=main&release=testing
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-znver1-debuginfo]
name="OpenMandriva Rolling - znver1 - Debug"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/debug_main/release/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/debug_main/release/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=debug_main&release=release
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-testing-znver1-debuginfo]
name="OpenMandriva Rolling - znver1 - Testing - Debug"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/debug_main/testing/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/debug_main/testing/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=debug_main&release=testing
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-znver1-extra]
name="OpenMandriva Rolling - Extra - znver1"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/extra/release/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/extra/release/
# Alternative if mirror.openmandriva.org is down
# mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=extra&release=release
# fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
type=rpm-md
enabled=1
[rolling-testing-znver1-extra]
name="OpenMandriva Rolling - Extra - znver1 - Testing"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/extra/testing/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/extra/testing/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=extra&release=testing
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-znver1-extra-debuginfo]
name="OpenMandriva Rolling - Extra - znver1 - Debug"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/debug_extra/release/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/debug_extra/release/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=debug_extra&release=release
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-testing-znver1-extra-debuginfo]
name="OpenMandriva Rolling - Extra - znver1 - Testing - Debug"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/debug_extra/testing/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/debug_extra/testing/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=debug_extra&release=testing
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-znver1-restricted]
name="OpenMandriva Rolling - Restricted - znver1"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/restricted/release/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/restricted/release/
# Alternative if mirror.openmandriva.org is down
# mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=restricted&release=release
# fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
type=rpm-md
enabled=1
[rolling-testing-znver1-restricted]
name="OpenMandriva Rolling - Restricted - znver1 - Testing"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/restricted/testing/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/restricted/testing/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=restricted&release=testing
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-znver1-restricted-debuginfo]
name="OpenMandriva Rolling - Restricted - znver1 - Debug"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/debug_restricted/release/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/debug_restricted/release/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=debug_restricted&release=release
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-testing-znver1-restricted-debuginfo]
name="OpenMandriva Rolling - Restricted - znver1 - Testing - Debug"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/debug_restricted/testing/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/debug_restricted/testing/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=debug_restricted&release=testing
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-znver1-non-free]
name="OpenMandriva Rolling - Non-free - znver1"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/non-free/release/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/non-free/release/
# Alternative if mirror.openmandriva.org is down
# mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=non-free&release=release
# fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
type=rpm-md
enabled=1
[rolling-testing-znver1-non-free]
name="OpenMandriva Rolling - Non-free - znver1 - Testing"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/non-free/testing/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/non-free/testing/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=non-free&release=testing
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-znver1-non-free-debuginfo]
name="OpenMandriva Rolling - Non-free - znver1 - Debug"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/debug_non-free/release/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/debug_non-free/release/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=debug_non-free&release=release
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
[rolling-testing-znver1-non-free-debuginfo]
name="OpenMandriva Rolling - Non-free - znver1 - Testing - Debug"
baseurl=http://mirror.openmandriva.org/rolling/repository/znver1/debug_non-free/testing/
http://abf-downloads.openmandriva.org/rolling/repository/znver1/debug_non-free/testing/
# Alternative if mirror.openmandriva.org is down
#mirrorlist=http://mirrors.openmandriva.org/mirrors.php?platform=rolling&arch=znver1&repo=debug_non-free&release=testing
#fastestmirror=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenMandriva
enabled=0
type=rpm-md
Oh I see what Discover did here lol, it messed up the spacing in baseurl with the ; thing
It changed up all repo files in the folder as well, guess I’ll source them from a clean OM install for purity’s sake later
Copypasted your contents and replaced znver1 with x86_64 and all seems good now. Thanks a lot
Oh I did know about the repository warning in OM welcome, was trying to hide all non-flatpak packages in discover not disable any repos but guess UI could use work in some KDE apps
That issue in Discover is being discussed by leadership in our Matrix chat. I am not exactly sure how they will deal with it, but they want it fixed as badly as you do.
Glad to hear so, not hard to make this kinda mistake especially since not all users visit the forum or read through OM welcome properly (it is a very handy tool though)