Sorry here goes the output with the command:
zypper refresh |& tee ~/somefile.txt
Repository 'Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports' is up to date.
Repository 'Update repository of openSUSE Backports' is up to date.
Repository 'openSUSE-Leap-15.6-Update-Debug' is up to date.
Retrieving repository 'Update repository with debuginfo for updates from SUSE Linux Enterprise 15' metadata [..
Looking for gpg keys in repository Update repository with debuginfo for updates from SUSE Linux Enterprise 15.
gpgkey=http://download.opensuse.org/debug/update/leap/15.6/sle/repodata/repomd.xml.key
......
Warning: Digest verification failed for file '548c52fee698e33563b52be098bf64864a27da57c25751004d214241ac04dc92-primary.xml.gz'
[/var/adm/mount/AP_0xGu34U1/repodata/548c52fee698e33563b52be098bf64864a27da57c25751004d214241ac04dc92-primary.xml.gz]
expected 548c52fee698e33563b52be098bf64864a27da57c25751004d214241ac04dc92
but got a915b073ea1bd7011bd101de93f6affe60c4bbc9ffb6dbabe08280151e3dc272
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 'a915..' 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? [a915/...? shows all options] (discard): error]
Repository 'Update repository with debuginfo for updates from SUSE Linux Enterprise 15' is invalid.
[repo-sle-debug-update|http://download.opensuse.org/debug/update/leap/15.6/sle/] Failed to retrieve new repository metadata.
History:
- 548c52fee698e33563b52be098bf64864a27da57c25751004d214241ac04dc92-primary.xml.gz has wrong checksum
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'Update repository with debuginfo for updates from SUSE Linux Enterprise 15' because of the above error.
Repository 'Update repository with updates from SUSE Linux Enterprise 15' is up to date.
Repository 'openSUSE-Leap-15.6-Update' is up to date.
Repository 'openSUSE-Leap-15.6-Update-Non-Oss' is up to date.
Repository 'Science' is up to date.
Repository 'home:duwe:crosstools2 (15.6)' is up to date.
Repository 'wkazubski's Home Project (15.6)' is up to date.
Repository 'electronics' is up to date.
Repository 'Packman Repository' is up to date.
Repository 'openSUSE:Backports:SLE-15-SP6' is up to date.
Repository 'hardware' is up to date.
Repository 'security' is up to date.
Repository 'Utilities' is up to date.
Repository 'Games' is up to date.
Repository 'openSUSE-Leap-15.6-Debug' is up to date.
Repository 'openSUSE-Leap-15.6-Debug-Non-Oss' is up to date.
Repository 'openSUSE-Leap-15.6-Non-Oss' is up to date.
Repository 'openSUSE-Leap-15.6-Oss' is up to date.
Repository 'openSUSE-Leap-15.6-Source' is up to date.
Repository 'openSUSE-Leap-15.6-Source-Non-Oss' is up to date.
Some of the repositories have not been refreshed because of an error.
I suspect as it has been mentioned ion here it is a problem of a update (proxy) server not being in sync.
Also note also the title of the thread is Yast update problem. but you are right I should have done that on the cli.