installer
installer copied to clipboard
reposync error
When syncing (dnf reposync) the https://packages.microsoft.com/ repository, I get a permanent error like this: [MIRROR] dotnet-sdk-5.0.202-x64.rpm: Downloading successful, but checksum doesn't match. Calculated: 5094b32ea172fdb7c8d15e1558501c35659aac9e52c6c203cbcfa52bb325574f(sha256) Expected: 6d9d4e5f2d50367aee889237fd29af87f95c95abbda0549dd9e318daa0c89a55(sha256)
What OS and version, what distribution for Linux? - rhel7 rhel8 centos7 centos8 sles12 sles15
This issue has been automatically closed due to no response from the original author. Please feel free to reopen it if you have more information that can help us investigate the issue further.
What information is missing?
I am trying to create a local copy of the rpm package repository using the dnf utility. When downloading packages, the hash of the files is checked against the data from the hml file of the repository. The dotnet-sdk-5.0.202-x64.rpm file fails validation: [MIRROR] dotnet-sdk-5.0.202-x64.rpm: Downloading successful, but checksum doesn't match. Calculated: 5094b32ea172fdb7c8d15e1558501c35659aac9e52c6c203cbcfa52bb325574f(sha256) Expected: 6d9d4e5f2d50367aee889237fd29af87f95c95abbda0549dd9e318daa0c89a55(sha256)
This prevents the repository from being updated as the process fails.
Example repo:
- https://packages.microsoft.com/rhel/7/prod/
- https://packages.microsoft.com/rhel/6/prod/
- https://packages.microsoft.com/centos/6/prod/
- https://packages.microsoft.com/centos/7/prod/
- https://packages.microsoft.com/sles/12/prod/
- https://packages.microsoft.com/sles/15/prod/
same error with sles 12 und sles 15 repository, can't sync both of them
I believe dotnet/installer is the right repository for this issue to be triaged; I'm transferring the issue there...
Is there any update on this issue?
Confirmed on our side. We operate a large internal mirror, and have hit this same bug.
[MIRROR] dotnet-sdk-5.0.202-x64.rpm: Downloading successful, but checksum doesn't match. Calculated: 5094b32ea172fdb7c8d15e1558501c35659aac9e52c6c203cbcfa52bb325574f(sha256) Expected: 6d9d4e5f2d50367aee889237fd29af87f95c95abbda0549dd9e318daa0c89a55(sha256) [FAILED] dotnet-sdk-5.0.202-x64.rpm: No more mirrors to try - All mirrors were already tried without success
Details : Command used : /usr/bin/reposync -c rpmmirror.reposync.conf --download-metadata -p /mirror/data/
reposync --version 4.2.17 Installed: dnf-0:4.2.17-6.el8.noarch at Thu 20 Aug 2020 09:29:37 AM GMT Built : CentOS Buildsys [email protected] at Fri 24 Apr 2020 07:58:19 PM GMT
Installed: rpm-0:4.14.2-37.el8.x86_64 at Thu 20 Aug 2020 09:29:32 AM GMT Built : CentOS Buildsys [email protected] at Fri 24 Apr 2020 03:17:18 AM GMT
CentOS Linux release 8.2.2004 (Core)
Issue manifests with any download method ( wget, reposync, browser download ). This makes the sync process stop, and leaves us with a unusable repository.
Triage: No activity in a few years. Let us know if you are still having issues.