在CentOS 6上,安裝Postfix時出錯

分享于 

1分钟阅读

互联网

  简体

問題:

我想在CentOS 6上安裝Postfix,但是,我得到以下錯誤:


yum install postfix -y


Loaded plugins: fastestmirror


Setting up Install Process


Determining fastest mirrors


YumRepo Error: All mirror URLs are not using ftp, http[s] or file.


 Eg. Invalid release/repo/arch combination/


removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt


Error: Cannot find a valid baseurl for repo: base



誰能告訴我怎麼修復這個?


答案1:

CentOS 6完全生命結束于November 30,因此,你將無法修補或安裝新軟體。

你應該升級到CentOS 7,甚至CentOS 8.


答案2:


curl https://www.getpagespeed.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo





相关文章