在WSL上,我执行sudo zypper update
,但收到此错误消息。
正在加载存储库数据...
警告:存储库'oss_update'似乎已过时。考虑使用其他镜像或服务器。
正在读取已安装的软件包...没事做。
但是,执行时sudo zypper refresh
,我没有收到任何错误消息。
Retrieving repository 'The Go Programming Language (openSUSE_Leap_42.3)' metadata ...............................................................................................................................................[done]
Retrieving repository 'devel:languages:php (openSUSE_Leap_42.3)' metadata .......................................................................................................................................................[done]
Repository 'oss' is up to date.
Retrieving repository 'oss_update' metadata .....................................................................................................................................................................................[done]
Retrieving repository 'PHP7 extensions (php7_openSUSE_Leap_42.3)' metadata ......................................................................................................................................................[done]
All repositories have been refreshed
我检查了正在使用的存储库的列表zypper lr -u
。
# | Alias | Name | Enabled | GPG Check | Refresh | URI
--+----------------------------+--------------------------------------------------+---------+-----------+---------+-------------------------------------------------------------------------------------------------
1 | devel_languages_go | The Go Programming Language (openSUSE_Leap_42.3) | Yes | (r ) Yes | No | http://download.opensuse.org/repositories/devel:/languages:/go/openSUSE_Leap_42.3/
2 | devel_languages_php | devel:languages:php (openSUSE_Leap_42.3) | Yes | (r ) Yes | No | http://download.opensuse.org/repositories/devel:/languages:/php/openSUSE_Leap_42.3/
3 | oss | oss | Yes | (r ) Yes | No | http://download.opensuse.org/distribution/leap/42.3/repo/oss/suse/
4 | oss_update | oss_update | Yes | (r ) Yes | No | http://download.opensuse.org/update/leap/42.3/oss/
5 | server_php_extensions_php7 | PHP7 extensions (php7_openSUSE_Leap_42.3) | Yes | (r ) Yes | No | http://download.opensuse.org/repositories/server:/php:/extensions:/php7/php7_openSUSE_Leap_42.3/
当我检查http://download.opensuse.org/update/leap/42.3/oss/的内容时,我看到文件和目录已于2018年3月23日更新,因此它们似乎已过时。
为什么我收到有关存储库过时的错误消息?如何更改我正在使用的存储库?我应该使用什么?