yum 修复

  1. 更换为阿里云的基础镜像:wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

  2. 运行:rpm -e rpmforge-release --nodeps(没用)

  3. 手动删除两个文件 rm -i rpmforge.repo rm -i mirrors-rpmforge

  4. 尝试运行yum clean all 

  5. 如果正常运行yum update


JasonBlog

JasonBlog
请先登录后发表评论
  • 最新评论
  • 总共0条评论