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
轉載于:https://www.cnblogs.com/DaniuUnixChina/p/8553971.html
總結
以上是生活随笔為你收集整理的Linux/CentOS7install PackageError: Loaded plugins: fastestmirror的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: link-cut-tree 简单介绍
- 下一篇: oracle快速插入大量数据