linux报错Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile解决方法
linux报错Loading mirror speeds from cached hostfile解决方法
我这里使用的是centOS7的版本,在使用yum安装包时出现了如下问题:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
There are no enabled repos.
Run “yum repolist all” to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable
To enable custom repositories:
yum-config-manager --enable
[root@localhost ~]# yum install tree -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
There are no enabled repos.
Run “yum repolist all” to see the repos you have.
To enable Red Hat Subscription Management repositories:
subscription-manager repos --enable
To enable custom repositories:
yum-config-manager --enable
解决方法:修改yum源,在安装更新rpm包时获得比较理想的速度。国内比较快的有163源、sohu源。这里以163源为例子。
然后输入以下代码:
cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-Base.repo.backup
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
mv CentOS6-Base-163.repo CentOS-Base.repo
yum clean all
问题就基本解决了
linux报错Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile解决方法相关推荐
- yum出现Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解决方法
yum出现Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解决方法 参考文章: (1 ...
- linux yum报错:Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
linux yum报错:Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile (C ...
- Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Package 7:lvm2-2
安装docker时候遇到的 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Pa ...
- Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Could not retrie
问题:centos yum命令不能使用 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostf ...
- linux报错Loading mirror speeds from cached hostfile解决方法 【yum错误记录】
linux报错Loading mirror speeds from cached hostfile解决方法 1.ping百度显示网络不可达 vim /etc/sysconfig/network-scr ...
- 【linux】已加载插件:fastestmirror, langpacks Loading mirror speeds from cached hostfile
已加载插件:fastestmirror, langpacks File contains no section headers. file: file:///etc/yum.repos.d/con 安 ...
- linux报错Loading mirror speeds from cached hostfile解决方法
首先本人当时也是遇到这个问题,首先配置了虚拟机的 yum,移步这篇博客https://www.cnblogs.com/xuzhaoyang/p/11239096.html 然后在进行了如下操作 首先还 ...
- 解决yum 不能更新问题 :yum 报错Loaded plugins: fastestmirror, refresh-packagekit, security
解决yum 不能更新问题 :yum 报错Loaded plugins: fastestmirror, refresh-packagekit, security 参考文章: (1)解决yum 不能更新问 ...
- Redis分布式缓存应用:主从复制master-slave,yum.安装报错Loading mirror speeds from cached hostfile 错误:M传递S成为M递归,薪火相传
1.配置3台redis服务器 1.1配置C:\Windows\System32\drivers\etchosts文件,启用ip 1.2克隆主机-配置xsync 配置xsync[cevent@hadoo ...
最新文章
- AngularJS ui-router (嵌套路由)
- java xwork_xwork-core-2.3.4源码 - 源码下载|通讯/手机编程|J2ME|源代码 - 源码中国
- 工控机改装家庭智能中心--命令行配置无线wifi
- Android—Retrofit解析
- ARM Linux 3.x的设备树(Device Tree)
- 不想被时代抛弃,就别远离一线
- 在javascript中关于局部变量和全局变量简析
- PostgreSQL 10 自定义并行计算聚合函数的原理与实践
- API3 创始人更新 3 月开发进展:Airnode 的 pre-alpha 版已通过审计
- Java中this关键字的几种用法
- 17大主链均狂跌国内项目却看涨, 本周不可不知的7组榜单 | 数据周榜
- USB控制相关批处理
- UOJ#211. 【UER #6】逃跑 (Dynamic Programming)
- 企业如何选择固定资产管理系统?
- 利用NoteExpress统一Elsevier旗下期刊参考文献格式
- 台达PLC开发笔记(一):台达PLC连接介绍,分别使用485、网口与台达PLC建立连接
- SAS Marketing Automation 6.3 User’s Guide 学习笔记
- OSChina 周六乱弹 —— 泡面就要泡着吃……
- 高中计算机课程教程,高中信息技术课教学计划
- osm服务器 显示乱码,怎样获得osm上的行政区划shp文件