安装失败,提示:ERROR: yum makecache failed: exit status 1

bablee 2018-9-7 2594

  • Installer Version: 20180130143006
  • Synchronizing server time...ok

    >> Updating software repository

  • Installing repository appnode-ccenter...
    Setting up Update Process
    Examining /var/tmp/yum-root-p7gxPa/appnode-ccenter-release-1.2-1.el6.x86_64.rpm: appnode-ccenter-release-1.2-1.el6.x86_64
    /var/tmp/yum-root-p7gxPa/appnode-ccenter-release-1.2-1.el6.x86_64.rpm: does not update installed package.
    No Packages marked for Update
    http://mirrors.vpsmate.org/CentALT/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.vpsmate.org'"
    Trying other mirror.
    Loaded plugins: fastestmirror, security
    Loading mirror speeds from cached hostfile
    epel/metalink | 7.6 kB 00:00
  • base: mirrors.cn99.com
  • epel: mirrors.aliyun.com
  • extras: mirrors.cn99.com
  • updates: mirrors.163.com
    ERROR: yum makecache failed: exit status 1
最新回复 (3)
  • bablee 2018-9-7
    引用 2
    >> Updating software repository


    * Installing repository appnode-ccenter...
    Setting up Update Process
    Examining /var/tmp/yum-root-ofp8nB/appnode-ccenter-release-1.2-1.el6.x86_64.rpm: appnode-ccenter-release-1.2-1.el6.x86_64
    /var/tmp/yum-root-ofp8nB/appnode-ccenter-release-1.2-1.el6.x86_64.rpm: does not update installed package.
    No Packages marked for Update
    Loaded plugins: fastestmirror, security
    Loading mirror speeds from cached hostfile
    epel/metalink                                                                                                                      | 7.6 kB     00:00
     * atomic: mirrors.neusoft.edu.cn
     * base: centos.ustc.edu.cn
     * epel: mirrors.aliyun.com
     * extras: mirrors.shu.edu.cn
     * updates: centos.ustc.edu.cn
    ERROR: yum makecache failed: exit status 1
  • bablee 2018-9-7
    引用 3
    发现是yum的问题,清空/etc/yum.repos.d目录下的文件,从部分正常安装的机子上将/etc/yum.repos.d目录下的文件全部拷贝过来,安装正常了
  • 虚竹 2018-9-8
    引用 4
    大部分安装失败,都是由于 yum makecache 这个命令执行失败导致的。
    解决就好。
返回
发新帖