• 解决yum 不能更新问题 :yum 报错Loaded plugins: fastestmirror, refresh-packagekit, security


    因为测试需要,安装了CentOS 6.4,并需要安装kvm,虚拟Windows 2008进行测试。

    实际操作中,因为CentOS 6已经停止维护了,所以每一步操作基本都存在一些问题。

    Yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁琐地一次次下载、安装。

    在安装kvm的过程中,使用yum进行安装,提示错误如下:

    Loaded plugins: fastestmirror, refresh-packagekit, security

    fastestmirror是yum的一个加速插件,提示意思是插件不能用了。

    那就先禁用吧

    vim  /etc/yum/pluginconf.d/fastestmirror.conf

    将enable=1改为0

    [main]
    enabled=0    //由 1 改成0 ,禁用该插件
    verbose=0
    always_print_best_host = true
    socket_timeout=3
    #  Relative paths are relative to the cachedir (and so works for users as well
    # as root).
    hostfilepath=timedhosts.txt
    maxhostfileage=10
    maxthreads=15
    #exclude=.gov, facebook
    #include_only=.nl,.de,.uk,.ie

    然后修改yum 配置文件,plugins=1改为0,不使用插件

    vim /etc/yum.conf
    9 plugins=0  //不使用插件

    然后清除缓存

    yum clean all
    yum makecache
  • 相关阅读:
    css选择器(常规选择器,伪类选择器,伪元素选择器,根元素选择器)
    css文件引人的三种方式
    《软件测试》阅读笔记
    测试风险管理
    软件缺陷分析
    软件文档
    软件缺陷分析方法
    软件缺陷分析方法:ODC
    [转载]web测试方法总结
    测试报告笔记
  • 原文地址:https://www.cnblogs.com/88223100/p/yum_Loaded_plugins_fastestmirror.html
Copyright © 2020-2023  润新知