1、禁用原有软件源;
sudo zypper mr -da
2、配置为阿里zypper源
zypper addrepo -f http://mirrors.aliyun.com/opensuse/update/leap/15.2/non-oss/ ALI:Oss zypper addrepo -f http://mirrors.aliyun.com/opensuse/update/leap/15.2/non-oss_debug/ ALI:non-oss_debug zypper addrepo -f http://mirrors.aliyun.com/opensuse/update/leap/15.2/oss/ ALI:oss zypper addrepo -f http://mirrors.aliyun.com/opensuse/update/leap/15.2/oss_debug/ ALI:oss_debug
3、配置为中科大zypper源
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/\$releasever/repo/oss USTC:OSS zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/\$releasever/repo/non-oss USTC:NON-OSS zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/\$releasever/oss USTC:UPDATE-OSS zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/\$releasever/non-oss USTC:UPDATE-NON-OSS