当前位置:网站首页>Correct way to update Fedora image Yum source to Tencent cloud Yum source

Correct way to update Fedora image Yum source to Tencent cloud Yum source

2022-06-24 06:06:00 Silicon Valley son

to update Fedora Image as Tencent cloud yum Please refer to the official Tencent cloud document for the source :https://mirrors.cloud.tencent.com/help/fedora.html

Download new fedora.repo and fedora-updates.repo To /etc/yum.repos.d/

function sudo yum makecache The generated cache will report an error :

Please execute the following command to solve the problem

sed -i 's/releases\/$releasever/releases\/32/g' /etc/yum.repos.d/fedora.repo
sed -i 's/updates\/$releasever/updates\/32/g' /etc/yum.repos.d/fedora-updates.repo

Re execution yum makecache that will do .

原网站

版权声明
本文为[Silicon Valley son]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/07/20210726162029420o.html