yum安裝報錯

測試環境安裝epel源


報錯提示

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again



解決方法:

修改文件“/etc/yum.repos.d/epel.repo”, 將baseurl的註釋取消, mirrorlist註釋掉。即可


如果不行

yum --disablerepo=epel -y update ca-certificates





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章