{"id":905,"date":"2024-07-12T02:21:51","date_gmt":"2024-07-11T18:21:51","guid":{"rendered":"https:\/\/woohuiren.me\/blog\/?p=905"},"modified":"2024-07-12T02:21:53","modified_gmt":"2024-07-11T18:21:53","slug":"failed-to-download-metadata-for-repo-fedora-cisco-openh264-gpg-verification-is-enabled-but-gpg-signature-is-not-available","status":"publish","type":"post","link":"https:\/\/woohuiren.me\/blog\/failed-to-download-metadata-for-repo-fedora-cisco-openh264-gpg-verification-is-enabled-but-gpg-signature-is-not-available\/","title":{"rendered":"Failed to download metadata for repo &#8216;fedora-cisco-openh264&#8217;: GPG verification is enabled, but GPG signature is not available"},"content":{"rendered":"\n<p>I encountered this error recently while trying to install the openh264 on Fedora 39. I did so using the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dnf config-manager --set-enabled fedora-cisco-openh264<br>sudo dnf install gstreamer1-plugin-openh264 mozilla-openh264<\/pre>\n\n\n\n<p>This was the full error output I&#8217;ve gotten when I ran the install command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Errors during downloading metadata for repository 'fedora-cisco-openh264':\n  - Status code: 404 for https:\/\/codecs.fedoraproject.org\/openh264\/39\/x86_64\/os\/repodata\/repomd.xml.asc (IP: 8.43.85.73)\n  - Status code: 404 for https:\/\/codecs.fedoraproject.org\/openh264\/39\/x86_64\/os\/repodata\/repomd.xml.asc (IP: 140.211.169.196)\nError: 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)<\/pre>\n\n\n\n<p>To workaround this error, I disabled repo gpg check by editing the configuration using this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo nano \/etc\/yum.repos.d\/fedora-cisco-openh264.repo<\/pre>\n\n\n\n<p>This was the new configuration I have: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[fedora-cisco-openh264]\nname=Fedora $releasever openh264 (From Cisco) - $basearch\nbaseurl=https:\/\/codecs.fedoraproject.org\/openh264\/$releasever\/$basearch\/os\/\ntype=rpm\nenabled=1\nenabled_metadata=1\nmetadata_expire=14d\nrepo_gpgcheck=0\ngpgcheck=1\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-fedora-$releasever-$basearch\nskip_if_unavailable=True<\/pre>\n\n\n\n<p>If anyone else has a better workaround for this issue. Please post it in the comment section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8211;set-enabled fedora-cisco-openh264sudo dnf install gstreamer1-plugin-openh264 mozilla-openh264 This was the full error output I&#8217;ve gotten when I ran the install command: Errors during downloading metadata for repository &#8216;fedora-cisco-openh264&#8217;: &#8211; Status code: 404 &hellip; <a href=\"https:\/\/woohuiren.me\/blog\/failed-to-download-metadata-for-repo-fedora-cisco-openh264-gpg-verification-is-enabled-but-gpg-signature-is-not-available\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Failed to download metadata for repo &#8216;fedora-cisco-openh264&#8217;: GPG verification is enabled, but GPG signature is not available&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[119,2],"tags":[105],"class_list":["post-905","post","type-post","status-publish","format-standard","hentry","category-fedora","category-information-technology","tag-fedora"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/posts\/905"}],"collection":[{"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/comments?post=905"}],"version-history":[{"count":1,"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/posts\/905\/revisions"}],"predecessor-version":[{"id":906,"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/posts\/905\/revisions\/906"}],"wp:attachment":[{"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/media?parent=905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/categories?post=905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/woohuiren.me\/blog\/wp-json\/wp\/v2\/tags?post=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}