Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfi
来源:互联网 发布:真正刷钻软件 编辑:程序博客网 时间:2024/05/16 09:10
最近在用Centos 6.5 的时候出现了这种情况,
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
No package gcc available.
Error: Nothing to do
遇到这种情况有两种做法:
1、没网,试着:ping www.baidu.com
如果显示没有连接的话,就说明没网,也就无法使用yum 命令。
2、ping通了的话,还是是用不了yum命令,说明是yum镜像没有了,那么就得下载一个来更新。
在安装完CentOS后一般需要修改yum源,才能够在安装更新rpm包时获得比较理想的速度。国内比较快的有163源、sohu源。这里以163源为例子。
1. cd /etc/yum.repos.d
2. mv CentOS-Base.repo CentOS-Base.repo.backup
3. wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
4. mv CentOS6-Base-163.repo CentOS-Base.repo
5.yum clean all
最后在使用yum 就可以了。
阅读全文
0 0
- Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfi
- Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfi
- Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostf
- CentOS 使用yum命令安装出现错误提示:Loaded plugins: fastestmirror, refresh-packagekit, security
- CentOS 使用yum命令安装出现错误提示:Loaded plugins: fastestmirror, refresh-packagekit, security
- Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this comm
- yum 报错Loading mirror speeds from cached hostfile
- Loaded plugins: fastestmirror
- [root@localhost zhu]# yum install vim Loaded plugins: langpacks, presto, refresh-packagekit Adding e
- CentOS yum upgrade, Error Loaded plugins: fastestmirror
- centos yum报错Loaded plugins: fastestmirror
- linux yum命令下Loaded plugins: fastestmirror原因
- 解决YUM下Loaded plugins: fastestmirror Determining fastest mirrors
- CentOS下yum命令出现Loaded plugins: fastestmirror
- linux解决YUM下Loaded plugins: fastestmirror Determining fastest mirrors
- linux下yum命令出现Loaded plugins: fastestmirror
- 解决YUM下Loaded plugins: fastestmirror Determining fastest mirrors
- yum install的时候提示:Loaded plugins: fastestmirror
- 源码角度来分析ReentrantLock是怎么利用AQS来实现公平锁,和非公平锁
- Error response from daemon: rpc error: code = 14 desc = grpc: the connection is unavailable
- android jni传long型数据给java
- JSON转换成JsonObject的方法---用 Gson
- SQL Server将数据库的用户名映射到登录名
- Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfi
- Java编程:深入理解final关键字
- C语言-预处理指令(Preprocessing Directive)-宏定义
- 玩转大数据_你需要了解这8种项目类型!
- WatchOS系统开发大全(5)-WKInterfaceController的生命周期
- 笔记4——vim编辑器
- LeetCode算法题目:Number of Digit One
- 读ini文件.
- 二分图 最大匹配 之最小点覆盖