栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

关于centos6中的yum Error总结

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

关于centos6中的yum Error总结

问题1:Loaded plugins: fastestmirror, refresh-packagekit, security

You need to be root to perform this command.
原因1:centos没有root权限,需要切换到root用户下进行操作
解答1:切换到root用户下:su

问题2:Loaded plugins: fastestmirror, refresh-packagekit, security

Setting up Install Process
Determining fastest mirrors
原因2:centos6的yum源需要重新设定一下。
解答2:
fastestmirror是yum的一个加速插件,这里是插件提示信息是插件不能用了。

  1. 修改配置文件
vim  /etc/yum/pluginconf.d/fastestmirror.conf

由enabled = 1修改为enabled = 0 意思是禁用它

vim /etc/yum.conf

修改为plugins=0 不使用插件
2)清除缓存并重新构建yum 源

yum clean all
yum clean dbcache
yum makecache
问题3:Setting up Install Process No package docker available. Error: Nothing to do

原因3:目前支持centos6的docker镜像比较少,可能拉取不到。
解答3:

 yum -y install epel-release
 yum -y install docker-io

最后,我推荐大家还是安装centos7,centos6感觉很多应用都不更新支持了,用起来有很多坑。

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/830839.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号