Hello,
I’m trying to reposync the Rocky9 base repo using the following command:
$ cat << EOF > rocky9.repo
[baseos]
name=Rocky Linux 9 - BaseOS
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-9
#baseurl=http://dl.rockylinux.org/$contentdir/9/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
[appstream]
name=Rocky Linux 9 - AppStream
#mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-9
baseurl=http://dl.rockylinux.org/$contentdir/9/AppStream/$basearch/os/
gpgcheck=1
enabled=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
[crb]
name=Rocky Linux 9 - CRB
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=CRB-9$rltype
#baseurl=http://dl.rockylinux.org/$contentdir/9/CRB/$basearch/os/
gpgcheck=1
enabled=0
countme=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
[extras]
name=Rocky Linux 9 - Extras
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=extras-9
#baseurl=http://dl.rockylinux.org/$contentdir/9/extras/$basearch/os/
gpgcheck=1
enabled=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
[plus]
name=Rocky Linux 9 - Plus
mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=plus-9$rltype
#baseurl=http://dl.rockylinux.org/$contentdir/9/plus/$basearch/os/
gpgcheck=1
enabled=0
countme=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
EOF
$ dnf reposync -n --download-metadata --delete -c rocky9.repo -p ../rocky/9 --repoid=baseos
During the sync i get the following errors:
[MIRROR] kernel-tools-libs-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: c7d2a7dec258cc79002e7319d0ea8f20ced990a018bddd8b423a88dedd7e79a3(sha256) Expected: 8d17e6313b26d2048944da3561fa40c699624f98e7920dbb0d7683a415ba4d06(sha256)
[MIRROR] kernel-tools-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: 247310ea52c464be47df7e2ae736a1ff3059fb56de89fb6c1bc8de2d00b46273(sha256) Expected: 46eac3ef4abc3a94e5fc27063379ef90895d3fed0c35b0951cf1fece8037c355(sha256)
[MIRROR] kernel-modules-extra-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f13b2cff291e561bf992e9b013dd2069538c272d1fd9c2ccf0b4198391d464b2(sha256) Expected: cf38e2672be93f2445411c90402192f6b9cb57e4a29fd4a248d74beb6027a224(sha256)
[MIRROR] kernel-tools-libs-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: c7d2a7dec258cc79002e7319d0ea8f20ced990a018bddd8b423a88dedd7e79a3(sha256) Expected: 8d17e6313b26d2048944da3561fa40c699624f98e7920dbb0d7683a415ba4d06(sha256)
[FAILED] kernel-tools-libs-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
[FAILED] kernel-modules-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
[FAILED] kernel-debug-modules-extra-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
[FAILED] kernel-debug-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
[FAILED] kernel-core-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
[FAILED] kernel-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
[MIRROR] kernel-tools-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: 247310ea52c464be47df7e2ae736a1ff3059fb56de89fb6c1bc8de2d00b46273(sha256) Expected: 46eac3ef4abc3a94e5fc27063379ef90895d3fed0c35b0951cf1fece8037c355(sha256)
[FAILED] kernel-tools-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
[MIRROR] kernel-modules-extra-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: Downloading successful, but checksum doesn't match. Calculated: f13b2cff291e561bf992e9b013dd2069538c272d1fd9c2ccf0b4198391d464b2(sha256) Expected: cf38e2672be93f2445411c90402192f6b9cb57e4a29fd4a248d74beb6027a224(sha256)
[FAILED] kernel-modules-extra-5.14.0-162.12.1.el9_1.0.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
Any ideas on why these checksums don’t match?