[已解决] [Leap 42.2] zypper ref, Digest verification failed

换 Leap 42.2 好长时间了, 每次刷新源都报这个错(每次 sha1 值都一样),求解,谢谢!
zypper clean 了也不行。

有用 42.2 的小伙伴么,zypper ref 的时候报错么?

zypper ref

Repository ‘M17N’ is up to date.
Repository ‘openSUSE-Leap-42.2-Non-Oss’ is up to date.
Retrieving repository ‘openSUSE-Leap-42.2-Oss’ metadata ----------------------------------------------------------------------------------------------------------------------]

Warning: Digest verification failed for file ‘appdata-screenshots.tar’
[/var/cache/zypp/raw/repo-oss1l49wj/suse/setup/descr/appdata-screenshots.tar]

expected ab0fe4f512fcba1c4e2190180017bbfb6b49af9ee6f494433438327aa52a8860
but got 80986e50eaf424852b111014636e9895ca149124dd4d628d00918c555d839b9c

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 ‘8098…’ 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? [8098/? shows all options] (discard):
Retrieving repository ‘openSUSE-Leap-42.2-Oss’ metadata …[error]
Repository ‘openSUSE-Leap-42.2-Oss’ is invalid.
[repo-oss|http://download.opensuse.org/distribution/leap/42.2/repo/oss/] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository ‘openSUSE-Leap-42.2-Oss’ because of the above error.
Repository ‘openSUSE-Leap-42.2-Update’ is up to date.
Repository ‘openSUSE-Leap-42.2-Update-Non-Oss’ is up to date.
Some of the repositories have not been refreshed because of an error.
linux-78ty:~ # zypper lr openSUSE-Leap-42.2-Oss
Alias : repo-oss
Name : openSUSE-Leap-42.2-Oss
URI : download.opensuse.org/distribution/leap/42.2/repo/oss/
Enabled : Yes
GPG Check : ( p) Yes
Priority : 99
Auto-refresh : On
Keep Packages : Off
Type : yast2
GPG Key URI :
Path Prefix : /
Parent Service :
Keywords : —
Repo Info Path : /etc/zypp/repos.d/repo-oss.repo
MD Cache Path : /var/cache/zypp/raw/repo-oss[/code]

回来填坑。

本地重定向的 Nuremburg 服务器出问题了, 换了清华的镜像就好了。

plinnell 说会通知 Nuremburg 的服务器管理员修复。

感谢在 openSUSE/SUSE 工作超过 10 年的 plinnell,感谢社区。

ps:他很惊讶,SUSE 在北京有办公室,居然木有官方镜像服务器。

同惊讶!!!

提示不是说的很清楚吗?
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 ‘8098…’ 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? [8098/? shows all options] (discard):

一般这个都没有什么安全问题,直接在这里输入 8098 同意就好。

试过,会提示有的包找不到。

提示贴出来看看!!

已经好了。没问题了。 原来的错误大概就是 packagename+version.rpm not found/exists 之类的, 估计是 repo 更新了,而 metadata 没更新不同步导致的。