zoukankan      html  css  js  c++  java
  • Linux/CentOS7install PackageError: Loaded plugins: fastestmirror

    Centons7

    其大概意思是fastestmirror不能使用,fastestmirror是yum的一个加速插件,具体我也没有仔细了解过,可能是系统不支持或者缺少组件导致的。

    处理办法就是禁用这个插件,方法如下:

    [root@localhost ~]# vim /etc/yum/pluginconf.d/fastestmirror.conf

    [main]
    enabled=1               //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

    [root@localhost ~]# vim /etc/yum.conf
    [main]
    cachedir=/var/cache/yum/$basearch/$releasever
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1     //1修改为0  禁用该插件
    installonly_limit=5
    bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
    distroverpkg=centos-release

    源文章参考网址 : https://www.cnblogs.com/qiushuiwanyue/p/6568996.html

    刚入们的超级小白,学习过程当中记录一些异常信息及解决方法。 欢迎大家一起交流。
  • 相关阅读:
    SSH整合
    JQuery
    MVC框架与增强
    通用分页(二)
    通用分页(一)
    自定义标签
    反射(一)
    Xml解析作业与Xml建模andXml建模作业
    Xml与Map之间的相互转换
    Xml解析
  • 原文地址:https://www.cnblogs.com/JiangDameiniu/p/8553971.html
Copyright © 2011-2022 走看看