mirror-requests icon indicating copy to clipboard operation
mirror-requests copied to clipboard

Rocky repo switch not work

Open hpc4you opened this issue 3 years ago • 1 comments

sed -e 's|^mirrorlist=|#mirrorlist=|g' \ -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.sjtug.sjtu.edu.cn/rocky|g' \ -i.bak \ /etc/yum.repos.d/Rocky-*.repo may works for rocky 8.x, but not work for Rocky Linux 9.0.

Need update.

In Rocky Linux 9.0, repo files are named rocky*repo, with no capital letters.

hpc4you avatar Jul 17 '22 03:07 hpc4you

Thanks for your report!

Unfortunately I'm not familiar with Rocky Linux. Would you like to submit a pull request for this? You may find source code of the guide at https://github.com/sjtug/portal/blob/master/content/post/mirror-help/rocky.md.

PhotonQuantum avatar Aug 04 '22 15:08 PhotonQuantum