Checksum fail for fedora-cisco-h264 repo - Fedora 35

I’m getting the following errors in rpm-ostree and dnf:

Updating metadata for 'fedora-cisco-openh264'... done
error: Updating rpm-md repo 'fedora-cisco-openh264': cannot update repo 'fedora-cisco-openh264': Cannot download repomd.xml: Cannot download repodata/
repomd.xml: All mirrors were tried; Last error: Downloading successful, but checksum doesn't match. 
Calculated: 88b343b2fa5fc11878d2741c909948efba1c697ed9fe8571325839ebceb6a2ee1f6a10e68898bf30cea6d11c1507c267f2e0dfb83ab7d4da03f74246d8012434(sha512)  
Expected: 6635b9b103011623cf2fb065f7c3810195b487511215fa802e21dcb72cc1e8644166e8339284ef38d0516f8650527caca77f9194aeed92b414a94a816948d46e(sha512)
Errors during downloading metadata for repository 'fedora-cisco-openh264':
  - Downloading successful, but checksum doesn't match. 
Calculated: 88b343b2fa5fc11878d2741c909948efba1c697ed9fe8571325839ebceb6a2ee1f6a10e68898bf30cea6d11c1507c267f2e0dfb83ab7d4da03f74246d8012434(sha512)  
Expected: 6635b9b103011623cf2fb065f7c3810195b487511215fa802e21dcb72cc1e8644166e8339284ef38d0516f8650527caca77f9194aeed92b414a94a816948d46e(sha512) 

This is what my /etc/yum.repos.d/fedora-cisco-openh264.repo looks like:

[fedora-cisco-openh264]
name=Fedora $releasever openh264 (From Cisco) - $basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch
type=rpm
enabled=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

[fedora-cisco-openh264-debuginfo]
name=Fedora $releasever openh264 (From Cisco) - $basearch - Debug
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-debug-$releasever&arch=$basearch
type=rpm
enabled=0
metadata_expire=14d
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True

I manually downloaded https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-35&arch=x86_64, and the sha512sum in that metadata file matches what is reported in the “Expected” fields. Manually downloading the https://codecs.fedoraproject.org//openh264/35/x86_64/os/repodata/repomd.xml file and running sha512sum shows the same as what the errors are reporting. Seems like the metalink file isn’t updated with the correct checksum?

Metalink file:

<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/" type="dynamic" pubdate="Thu, 14 Oct 2021 23:45:27 GMT" generator="mirrormanager" xmlns:mm0="http://fedorahosted.org/mirrormanager">
 <files>
  <file name="repomd.xml">
   <mm0:timestamp>1614041248</mm0:timestamp>
   <size>2338</size>
   <verification>
    <hash type="md5">99db0c334311733eb7dd9d1daebb2120</hash>
    <hash type="sha1">131f9f24bb49ded17f1713d1be681429cc7f868c</hash>
    <hash type="sha256">c66453640a9db35361614f1fefb625e365e7ab771b28f48aa6c846c7fe9ff7ff</hash>
    <hash type="sha512">6635b9b103011623cf2fb065f7c3810195b487511215fa802e21dcb72cc1e8644166e8339284ef38d0516f8650527caca77f9194aeed92b414a94a816948d46e</hash>
   </verification>
   <resources maxconnections="1">
    <url protocol="https" type="https" location="US" preference="100">https://codecs.fedoraproject.org//openh264/35/x86_64/os/repodata/repomd.xml</url>
   </resources>
  </file>
 </files>
</metalink>
sha512sum repomd.xml 
88b343b2fa5fc11878d2741c909948efba1c697ed9fe8571325839ebceb6a2ee1f6a10e68898bf30cea6d11c1507c267f2e0dfb83ab7d4da03f74246d8012434  repomd.xml
1 Like

cross referencing with our own Fedora CoreOS issue: kola: rpmostree.install-uninstall test failing on infra issue · Issue #996 · coreos/fedora-coreos-tracker · GitHub

1 Like

I’m having the same issue as @guiltydoggy-- or a similar issu. Also on Silverblue, but on rawhide.

uname -r

5.15.0-0.rc5.20211013gitf4d0cc426f77.42.fc36.x86_64

ostree admin status

* fedora 5637bbd6d81a9e1adc299ef4217dd4066e22621d0bdeceeb3df825bf253d6b67.0
    Version: Rawhide.20211014.n.0
    origin: <unknown origin type>
  fedora a9aa208dce31094db99f72218a31178ffa2e597dc3c1141ef45f80cd1d384810.0 (rollback)
    Version: Rawhide.20211013.n.0
    origin: <unknown origin type>

cat /etc/yum.repos.d/fedora-cisco-openh264.repo

[fedora-cisco-openh264]
name=Fedora $releasever openh264 (From Cisco) - $basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch
type=rpm
enabled=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

[fedora-cisco-openh264-debuginfo]
name=Fedora $releasever openh264 (From Cisco) - $basearch - Debug
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-debug-$releasever&arch=$basearch
type=rpm
enabled=0
metadata_expire=14d
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True

curl “https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-35&arch=x86_64

<?xml version="1.0" encoding="utf-8"?>
<metalink version="3.0" xmlns="http://www.metalinker.org/" type="dynamic" pubdate="Fri, 15 Oct 2021 19:12:54 GMT" generator="mirrormanager" xmlns:mm0="http://fedorahosted.org/mirrormanager">
 <files>
  <file name="repomd.xml">
   <mm0:timestamp>1614041248</mm0:timestamp>
   <size>2338</size>
   <verification>
    <hash type="md5">99db0c334311733eb7dd9d1daebb2120</hash>
    <hash type="sha1">131f9f24bb49ded17f1713d1be681429cc7f868c</hash>
    <hash type="sha256">c66453640a9db35361614f1fefb625e365e7ab771b28f48aa6c846c7fe9ff7ff</hash>
    <hash type="sha512">6635b9b103011623cf2fb065f7c3810195b487511215fa802e21dcb72cc1e8644166e8339284ef38d0516f8650527caca77f9194aeed92b414a94a816948d46e</hash>
   </verification>
   <resources maxconnections="1">
    <url protocol="https" type="https" location="US" preference="100">https://codecs.fedoraproject.org//openh264/35/x86_64/os/repodata/repomd.xml</url>
   </resources>
  </file>
 </files>
</metalink>

Errors

rpm-ostree upgrade --check

Writing objects: 1... done
Enabled rpm-md repositories: fedora-cisco-openh264 rawhide updates-testing
Updating metadata for 'fedora-cisco-openh264'... done
error: Loading sack: Updating rpm-md repo 'fedora-cisco-openh264': cannot update repo 'fedora-cisco-openh264': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Downloading successful, but checksum doesn't match. Calculated: 88b343b2fa5fc11878d2741c909948efba1c697ed9fe8571325839ebceb6a2ee1f6a10e68898bf30cea6d11c1507c267f2e0dfb83ab7d4da03f74246d8012434(sha512)  Expected: 6635b9b103011623cf2fb065f7c3810195b487511215fa802e21dcb72cc1e8644166e8339284ef38d0516f8650527caca77f9194aeed92b414a94a816948d46e(sha512) 

sudo dnf upgrade --assumeno

Fedora rawhide openh264 (From Cisco) - x86_64                                                                                                                                                                 1.4 kB/s | 2.3 kB     00:01    
Errors during downloading metadata for repository 'fedora-cisco-openh264':
  - Downloading successful, but checksum doesn't match. Calculated: 88b343b2fa5fc11878d2741c909948efba1c697ed9fe8571325839ebceb6a2ee1f6a10e68898bf30cea6d11c1507c267f2e0dfb83ab7d4da03f74246d8012434(sha512)  Expected: 6635b9b103011623cf2fb065f7c3810195b487511215fa802e21dcb72cc1e8644166e8339284ef38d0516f8650527caca77f9194aeed92b414a94a816948d46e(sha512) 
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:43:07 ago on Fri Oct 15 14:35:33 2021.
Dependencies resolved.

I’ve opened this bug report in bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=2014514

2 Likes

Should be fixed now. There is a bug in one of the tools creating this. The bug is fixed but not yet deployed because of the current infrastructure freeze.

1 Like

Just started seeing this same issue, albeit with a different hash mismatch.

Updating rpm-md repo 'fedora-cisco-openh264': cannot update repo 'fedora-cisco-openh264': Cannot download
repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Downloading successful, but checksum
doesn't match. Calculated:
582cae6b9192c5bc24e6094b5a9dd90d8c37ca372965b37a459a77371516daebae0a1efb804e79d70deb698b68f5ca5bdb5aaa70983b6f789269d15365ab18a1(sha512)
 Expected:
21787a7589649f230911a7586c489dec00b0b8c4ad1631792cc0408e6369450fa47dded0c7bc8c790f9c026f8064bbbb2c5dcd51be442f289a578c6447f5e885(sha512)

I am seeing the same issue on my machines as well. Opened bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=2077968

@shanesmith, the issue seems to have been fixed for me. Can you verify that on your end as well? I will close the bug report if it is resolved.

oh, it does seem fixed! :tada: