Failed to download metadata for repo ‘fedora-cisco-openh264’: GPG verification is enabled, but GPG signature is not available

I encountered this error recently while trying to install the openh264 on Fedora 39. I did so using the following commands.

sudo dnf config-manager --set-enabled fedora-cisco-openh264
sudo dnf install gstreamer1-plugin-openh264 mozilla-openh264

This was the full error output I’ve gotten when I ran the install command:

Errors during downloading metadata for repository 'fedora-cisco-openh264':
  - Status code: 404 for https://codecs.fedoraproject.org/openh264/39/x86_64/os/repodata/repomd.xml.asc (IP: 8.43.85.73)
  - Status code: 404 for https://codecs.fedoraproject.org/openh264/39/x86_64/os/repodata/repomd.xml.asc (IP: 140.211.169.196)
Error: Failed to download metadata for repo 'fedora-cisco-openh264': GPG verification is enabled, but GPG signature is not available. This may be an error or the repository does not support GPG verification: Status code: 404 for https://codecs.fedoraproject.org/openh264/39/x86_64/os/repodata/repomd.xml.asc (IP: 140.211.169.196)

To workaround this error, I disabled repo gpg check by editing the configuration using this command.

sudo nano /etc/yum.repos.d/fedora-cisco-openh264.repo

This was the new configuration I have:

[fedora-cisco-openh264]
name=Fedora $releasever openh264 (From Cisco) - $basearch
baseurl=https://codecs.fedoraproject.org/openh264/$releasever/$basearch/os/
type=rpm
enabled=1
enabled_metadata=1
metadata_expire=14d
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True

If anyone else has a better workaround for this issue. Please post it in the comment section below.

Author: Huiren

I use free software and sometimes contribute to free software. I write about mostly technical problems I face and how I overcome them

Leave a Reply