zoukankan      html  css  js  c++  java
  • centos5 源失效解决办法

    将源文件备份

    [base]
    name=CentOS-$releasever - Base
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/os/$basearch/
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    #released updates
    [updates]
    name=CentOS-$releasever - Updates
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/updates/$basearch/
    		http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/extras/$basearch/
    		http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-$releasever - Plus
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/centosplus/$basearch/
    		http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-$releasever - Contrib
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/contrib/$basearch/
    		http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    

      

  • 相关阅读:
    jni ndk 入门
    Activity 四种启动模式
    广播接收者 BroadcastReceiver
    android 焦点 ListView 点击事件获取失败
    android 动画效果
    JAVA 配置
    python 1:列表和字典
    poj1595 水题
    hdu 1181 深搜
    poj3264 划分树
  • 原文地址:https://www.cnblogs.com/lcxiao/p/11361037.html
Copyright © 2011-2022 走看看