Dnf error on fedora 34 with 'fedora-cisco-openh264': wrong metadata link

Hello everyone,
I encounter a problem while trying to install “gstreamer1-plugin-openh264” and “mozilla-openh264”.
When trying to install:

Fedora 34 openh264 (From Cisco) - x86_64        397  B/s | 271  B     00:00    
Errors during downloading metadata for repository 'fedora-cisco-openh264':
- Status code: 404 for https://codecs.fedoraproject.org/openh264/34/x86_64/repodata/repomd.xml (IP: 85.236.55.6)
 Error: Failed to download metadata for repo 'fedora-cisco-openh264': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: fedora-cisco-openh264
Last metadata expiration check: 0:18:59 ago on Sat 01 May 2021 09:29:13 PM CEST.
No match for argument: gstreamer1-plugin-openh264
No match for argument: mozilla-openh264
Error: Unable to find a match: gstreamer1-plugin-openh264 mozilla-openh264

Going through the link reported above (https://codecs.fedoraproject.org/openh264/34/x86_64/repodata/repomd.xml) I noticed that it is wrong and that “os” is missing before “repodata”. The correct one seems to be: https://codecs.fedoraproject.org/openh264/34/x86_64/os/repodata/repomd.xml

Any solution or workaround?
Thank you!

2 Likes
2 Likes

Thank you for pointing it out.
I modified the /etc/yum.repos.d/fedora-cisco-openh264.repo file adding os ath the end of the link:

[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=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True
2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.