How do I add 3rd party repositories ? (librewolf)

Hello,

  • OpenMandriva Lx version:
    rolling release

  • Desktop environment (KDE, LXQT…):
    xfce

  • Description of the issue (screenshots if relevant):
    I tried installing LibreWolf following the fedora instructions on the librewolf website

$ curl -fsSL https://repo.librewolf.net/librewolf.repo | pkexec tee /etc/yum.repos.d/librewolf.repo
[repository]
name=LibreWolf Software Repository
baseurl=https://repo.librewolf.net
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://repo.librewolf.net/pubkey.gpg
$ sudo dnf install librewolf
LibreWolf Software Repository                                                                         5.2 kB/s | 833  B     00:00    
Error: Failed to download metadata for repo 'repository': repomd.xml GPG signature verification error: Error during parsing OpenPGP packets
OpenMandriva Rolling - x86_64                                                                         1.4 MB/s | 5.4 MB     00:03    
OpenMandriva Rolling - Extra - x86_64                                                                 881 kB/s | 1.4 MB     00:01    
Ignoring repositories: repository
Last metadata expiration check: 0:00:01 ago on Tue 04 Feb 2025 11:15:32 AM CET.
No match for argument: librewolf
Error: Unable to find a match: librewolf

Am I doing something wrong ? I am a total noob with rpm package managers, what is the proper way of adding a 3rd party repo on openmandriva ?

  • Relevant informations (hardware involved, software version, logs or output…):

Welcome! We’re glad you’re here.

I just tried to install and it failed to get the key. Yours did as well. I used the following two commands.

curl -fsSL https://repo.librewolf.net/librewolf.repo | pkexec tee /etc/yum.repos.d/librewolf.repo

sudo dnf install librewolf --refresh

Normally, they get keys fixed pretty quick.

1 Like

Since it didn’t fully install, I went to /etc/yum.repos.d and deleted the file for now.

All your steps are correct but you must change the repo_gpgcheck line to 0 in the librewolf.repo file in /etc/yum.repos.d

2 Likes

That would make it accept the repo without the key. I cannot recommend doing that. Would it be safe? Maybe, but maybe not.

1 Like

True, but it may be a temporary workaround.

2 Likes

Yes, but gpgcheck will check the key on the package. For some reason the repo checking fails on OpenMandriva but not on other RPM distros. Import the key with rpm --import https://rpm.librewolf.net/pubkey.gpg.

3 Likes