使用中科大官网方式添加源后进行刷新报错

先试试 sudo zypper clean -a && sudo zypper ref

或者重新添加软件源:

sudo zypper mr -da

对于 Tumbleweed 用户:

sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/oss/ ustc-oss
sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/non-oss/ ustc-non-oss

对于 Leap 用户:

sudo zypper ar -fcg https://mirrors.ustc.edu.c/opensuse/distribution/leap/$releasever/repo/oss ustc-oss
sudo zypper ar -fcg https://mirrors.ustc.edu.c/opensuse/distribution/leap/$releasever/repo/non-oss ustc-non-oss
sudo zypper ar -fcg https://mirrors.ustc.edu.c/opensuse/update/leap/$releasever/oss ustc-oss-update
sudo zypper ar -fcg https://mirrors.ustc.edu.c/opensuse/update/leap/$releasever/non-oss ustc-non-oss-update
sudo zypper ar -fcg https://mirrors.ustc.edu.c/opensuse/update/leap/$releasever/sle/ ustc-sle-update
sudo zypper ar -fcg https://mirrors.ustc.edu.c/opensuse/update/leap/$releasever/backports/ ustc-sle-backport

详见:

https://zh.opensuse.org/SDB:快速配置指南

是中科大源出问题了,换清华源试试

sudo sed -i 's|mirrors.ustc.edu.cn|mirrors.tuna.tsinghua.edu.cn|g' /etc/zypp/repos.d/*.repo
1赞

好的,谢谢!