在 CentOS 6 上安装 postfix 时出错

mas*_*fc6 1 postfix centos yum

我想在 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
Run Code Online (Sandbox Code Playgroud)

谁能告诉我如何解决这个问题?这与人们说 CentOS 6 已死有关系吗?有什么解决办法吗?

Dan*_*nin 7

虽然 CentOS 6 真的死了,最终的修复是升级,但您仍然可以使用此处详述的 Vault 存储库安装软件包。

要快速修复您的 CentOS 6,您可以yum install运行:

curl https://www.getpagespeed.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo
Run Code Online (Sandbox Code Playgroud)