【问题标题】:Centos repo Change from 6.4 to 6Centos repo 从 6.4 更改为 6
【发布时间】:2014-08-14 21:07:09
【问题描述】:

Centos 6.4 没有收到更新 我有一个 centos 虚拟机,我必须安装 perl

镜像已不存在 如何更改 yum Repo 中的 Centos 版本链接 从6.4到6

 http://mirrors.vonline.vn/centos/6.4/updates/x86_64/Packages/dbus-glib-0.86-6.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"


Is this ok [y/N]: y
Downloading Packages:
http://centos-hn.viettelidc.com.vn/6.4/updates/x86_64/Packages/perl-5.10.1-131.el6_4.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.

【问题讨论】:

    标签: centos yum


    【解决方案1】:

    你可以像这样直接安装 Perl;
    对于 64 位处理器:

    rpm -Uhv http://mirror.centos.org/centos/6/os/x86_64/Packages/perl-5.10.1-136.el6.x86_64.rpm
    

    对于 32 位处理器:

    rpm -Uhv http://mirror.centos.org/centos/6/os/i386/Packages/perl-5.10.1-136.el6.i686.rpm
    

    之后,您可以查看存储库中的 URL;
    /etc/yum.repos.d/CentOS-Base.repo

    【讨论】:

      猜你喜欢
      • 2013-08-29
      • 2017-12-31
      • 1970-01-01
      • 2017-06-27
      • 2017-03-03
      • 2014-07-10
      • 1970-01-01
      • 2013-08-25
      • 2013-08-30
      相关资源
      最近更新 更多