Digest Error

Hello Fellas,

Thank you for this great community.

I am facing an issue with my new installations of OpenSUSE 15.4 Leap. I am getting checksum notifications when activating Online Repositories during installation. I have downloaded the latest ISO as well but still same issue. I tried without activating the Online Repositories during installation but during finalizing/saving installation it gives same checksum error for Online Repositories.

Whenever I try running zypper ref I get similar errors. I tried zypper ref --force similar errors.

My already installed OpenSUSE machines are working fine.

Can anyone please suggest what is going on and is anyone in the community facing similar issues?

Hello and welcome to the openSUSE forums.

In general you should not only post your personal conclusions, but you should post first and foremost the facts that made you come to those conclusions.

In your case you could e.g. post the zypper ref you mention.

There is an important, but not easy to find feature on the forums.

Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

An example is here: Using CODE tags Around your paste.

And you should also provide a list of your repositories:

zypper lr -u

Thanks for explaining this but I didn’t see it’s importance so I mentioned it without tags. I would have used tags if I would be pasting a complete command result.

Just provide the informations as requested…

zypper lr -u
zypper ref

# zypper ref

Retrieving repository 'Update repository of openSUSE Backports' metadata ---------------------------------------------------------------------------------/]
Warning: Digest verification failed for file 'daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz'
[/var/tmp/AP_0xZiPWjO/repodata/daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz]


  expected daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e
  but got  0ab3e14be1307021d614835ee59a3e0af19519cd44305146acb1b6d225d0004a


Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.


However if you made certain that the file with checksum '0ab3..' is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.


Unblock or discard? [0ab3/...? shows all options] (discard):
Retrieving repository 'Update repository of openSUSE Backports' metadata .............................................................................[error]
Repository 'Update repository of openSUSE Backports' is invalid.
[repo-backports-update|http://download.opensuse.org/update/leap/15.4/backports/] Valid metadata not found at specified URL
History:
 - daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz has wrong checksum
 - Can't provide ./repodata/daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz


Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'Update repository of openSUSE Backports' because of the above error.
Repository 'Non-OSS Repository' is up to date.
Repository 'Main Repository' is up to date.
Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date.
Repository 'Main Update Repository' is up to date.
Retrieving repository 'Update Repository (Non-Oss)' metadata ---------------------------------------------------------------------------------------------\]
Warning: Digest verification failed for file 'c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7-primary.xml.gz'
[/var/tmp/AP_0xf5s6lO/repodata/c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7-primary.xml.gz]


  expected c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7
  but got  0ab3e14be1307021d614835ee59a3e0af19519cd44305146acb1b6d225d0004a


Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.


However if you made certain that the file with checksum '0ab3..' is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.


Unblock or discard? [0ab3/...? shows all options] (discard):
Retrieving repository 'Update Repository (Non-Oss)' metadata .........................................................................................[error]
Repository 'Update Repository (Non-Oss)' is invalid.
[repo-update-non-oss|http://download.opensuse.org/update/leap/15.4/non-oss/] Valid metadata not found at specified URL
History:
 - c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7-primary.xml.gz has wrong checksum
 - Can't provide ./repodata/c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7-primary.xml.gz


Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'Update Repository (Non-Oss)' because of the above error.
Some of the repositories have not been refreshed because of an error.

And why don’t you provide the list of repositories i asked for?

Already Shared the result from the command for refreshing Repos.

There seems to be something wrong with the non_OSS-update repo:

http://download.opensuse.org/update/leap/15.4/non-oss/

I checked and re-checked that URL, but I see no difference with what I have. Also I have no problem using it.

Maybe you use a mirror that has a problem.

But are you still understanding what we ask and what your answers are?

You say you answer to the request for zypper lr -d, but you post zypper ref ???

And the repo list is still missing??

I have not used any mirror Repo. I am using the default installation.

I get similar errors during installation at activation step.

I cannot upload the screenshots here as it accepts only link which I tried to upload https://imgbb.com/ and insert image link here but that’s not working.

I thought you would understand it from the code I shared but sharing again.

zypper lr -d#  | Alias                       | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                  | Service
---+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------+--------
 1 | openSUSE-Leap-15.4-1        | openSUSE-Leap-15.4-1                                                                        | No      | ----      | ----    |   99     | rpm-md | cd:/?devices=/dev/disk/by-id/ata-VMware_Virtual_IDE_CDROM_Drive_00000000000000000001 |
 2 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/update/leap/15.4/backports_debug/                       |
 3 | repo-backports-update       | Update repository of openSUSE Backports                                                     | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/update/leap/15.4/backports/                             |
 4 | repo-debug                  | Debug Repository                                                                            | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.4/repo/oss/                  |
 5 | repo-debug-non-oss          | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/              |
 6 | repo-debug-update           | Update Repository (Debug)                                                                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.4/oss/                             |
 7 | repo-debug-update-non-oss   | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.4/non-oss/                         |
 8 | repo-non-oss                | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/                    |
 9 | repo-oss                    | Main Repository                                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.4/repo/oss/                        |
10 | repo-sle-debug-update       | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.4/sle/                             |
11 | repo-sle-update             | Update repository with updates from SUSE Linux Enterprise 15                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.4/sle/                                   |
12 | repo-source                 | Source Repository                                                                           | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.4/repo/oss/                 |
13 | repo-update                 | Main Update Repository                                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.4/oss/                                   |
14 | repo-update-non-oss         | Update Repository (Non-Oss)                                                                 | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/update/leap/15.4/non-oss/                               |



The issue seems to be with 2 Repos.

**‘Update repository of openSUSE Backports’

‘Update Repository (Non-Oss)’

**Can you please check both of them?

Depending where you are in the world you may be redirected to a repo hosted closer to you

Show full output of (it is one line)

curl -v -O -kL http://download.opensuse.org/update/leap/15.4/backports/repodata/daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz
curl -v -O -kL http://download.opensuse.org/update/leap/15.4/backports/repodata/daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 195.135.221.134:80...
*   Trying 2001:67c:2178:8::13:80...
* Immediate connect fail for 2001:67c:2178:8::13: Network is unreachable
* Connected to download.opensuse.org (195.135.221.134) port 80 (#0)
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0> GET /update/leap/15.4/backports/repodata/daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz HTTP/1.1
> Host: download.opensuse.org
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Date: Sun, 27 Nov 2022 09:57:16 GMT
< Server: Mojolicious (Perl)
< Location: http://mirror.dc.uz/opensuse/update/leap/15.4/backports/repodata/daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz
< Content-Length: 0
< Content-Type: application/x-gzip
<
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host download.opensuse.org left intact
* Issue another request to this URL: 'http://mirror.dc.uz/opensuse/update/leap/15.4/backports/repodata/daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz'
*   Trying 91.212.89.107:80...
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0* Connected to mirror.dc.uz (91.212.89.107) port 80 (#1)
> GET /opensuse/update/leap/15.4/backports/repodata/daa4097bd4f3b50b2b4d781291ef61d40e66f0a889f204c6ba31af5bd951e40e-deltainfo.xml.gz HTTP/1.1
> Host: mirror.dc.uz
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: nginx
< Date: Sun, 27 Nov 2022 09:57:40 GMT
< Content-Type: application/octet-stream
< Content-Length: 59973
< Last-Modified: Sat, 26 Nov 2022 11:17:50 GMT
< Connection: keep-alive
< ETag: "6381f5de-ea45"
< X-Content-Type-Options: nosniff
< Accept-Ranges: bytes
<
{ [1086 bytes data]
100 59973  100 59973    0     0  27906      0  0:00:02  0:00:02 --:--:-- 68855
* Connection #1 to host mirror.dc.uz left intact

Do you still observe this problem? I downloaded file from this mirror and checksum appears OK. Could be temporary mirror issue.

Thank you so much it seems to be working fine now. But I am still getting one error.

#zypper refRepository 'Update repository of openSUSE Backports' is up to date.
Repository 'Non-OSS Repository' is up to date.
Repository 'Main Repository' is up to date.
Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date.
Repository 'Main Update Repository' is up to date.
Retrieving repository 'Update Repository (Non-Oss)' metadata ---------------------------------------------------------------------------------------------|]
Warning: Digest verification failed for file 'c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7-primary.xml.gz'
[/var/tmp/AP_0xD6Ka9t/repodata/c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7-primary.xml.gz]


  expected c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7
  but got  0ab3e14be1307021d614835ee59a3e0af19519cd44305146acb1b6d225d0004a


Accepting packages with wrong checksums can lead to a corrupted system and in extreme cases even to a system compromise.


However if you made certain that the file with checksum '0ab3..' is secure, correct
and should be used within this operation, enter the first 4 characters of the checksum
to unblock using this file on your own risk. Empty input will discard the file.


Unblock or discard? [0ab3/...? shows all options] (discard):
Retrieving repository 'Update Repository (Non-Oss)' metadata .........................................................................................[error]
Repository 'Update Repository (Non-Oss)' is invalid.
[repo-update-non-oss|http://download.opensuse.org/update/leap/15.4/non-oss/] Valid metadata not found at specified URL
History:
 - c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7-primary.xml.gz has wrong checksum
 - Can't provide ./repodata/c8cfb64e25657a0c26ad61549e085b4afeb4a038f740ce0b58d17a5cb4bd87f7-primary.xml.gz


Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'Update Repository (Non-Oss)' because of the above error.
Some of the repositories have not been refreshed because of an error.

Have you deleted the cache?
As root:

zypper clean -a

Now refresh.
As root:

zypper ref

Now update.
As root:

zypper up

The file seems to be present on this mirror right now (2 hours after your post).