美文网首页
centos8 Errors during downloadin

centos8 Errors during downloadin

作者: 不能没有音乐 | 来源:发表于2022-04-20 18:29 被阅读0次

    yum命令Repository epel is listed more than once in the configuration CentOS Linux 8
    centos8官方源已下线

    # 进入yum目录
    cd /etc/yum.repos.d
    
    # 删除目录下所有文件(注意完整复制,不要漏了那个点)
    rm -rf ./*
    
    # 安装正确的源
    wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
    
    # 生成缓存
    yum makecache
    
    yum源的原因。于是安装 EPEL 源,使用最新版本8,
    yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
    

    https://blog.csdn.net/tongkongyu/article/details/122824763

    相关文章

      网友评论

          本文标题:centos8 Errors during downloadin

          本文链接:https://www.haomeiwen.com/subject/caovertx.html