yum安装软件出错

  • 1.备份现有repo仓库
  • 2.下载并使用阿里云仓库repo
  • 3.更新yum
  • 4.用yum安装软件

日志信息:Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
No package gcc available.
Error: Nothing to do
出现这个错误一般是没有正确配置镜像文件,或者是用163镜像,由于12 月 8 日,CentOS 开发团队在其官博宣布,CentOS 8 将在 2021 年底结束支持,CentOS 7 由于用户基数与用户贡献较多,因此会按照计划维护至生命周期结束即 2024 年 6 月 30 日,接下来一年会把重心放到 CentOS Stream 上。好多镜像都已经不能访问了

建议以前有镜像的或者是新安装的系统都配置阿里镜像
配置过程如下:

1.备份现有repo仓库

命令:mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

2.下载并使用阿里云仓库repo

命令:curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo

3.更新yum

命令1:yum clean all

命令2:yum makecache

4.用yum安装软件

命令: yum -y install 软件名称

说明:1.我使用的是centsos6.7,如果不是6没成功的话需要去官网重新改下步骤2的命令
2.尽量在Linux里面进行安装,Linux连接工具里面安装速度会比较慢

Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached相关推荐

  1. yum出现Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解决方法

    yum出现Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解决方法 参考文章: (1 ...

  2. 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 ...

  3. 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 ...

  4. linux报错Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile解决方法

    linux报错Loading mirror speeds from cached hostfile解决方法 我这里使用的是centOS7的版本,在使用yum安装包时出现了如下问题: Loaded pl ...

  5. 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 ...

  6. 已加载插件:fastestmirror Loading mirror speeds from cached hostfile

    **[root@localhost ~]# yum install lrszs -y 已加载插件:fastestmirror Loading mirror speeds from cached hos ...

  7. 已加载插件:fastestmirror Loading mirror speeds from cached hostfile There are no enabled repos. Run “yum

    详细报错信息 已加载插件:fastestmirror Loading mirror speeds from cached hostfile There are no enabled repos.Run ...

  8. 已加载插件:fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.163.com * extras: m

    错误产生环境 在centeros7中使用yum -y update命令时产生 错误描述 [root@localhost ~]# yum -y update 已加载插件:fastestmirror Lo ...

  9. Loading mirror speeds from cached hostfile

    在使用yum安装软件时出现的错误信息如下: [root@localhost ~]# yum install bind* -y 已加载插件:fastestmirror, refresh-packagek ...

最新文章

  1. Unity与C#创建一个3D平台游戏 Learn to Create a 3D Platformer Game with Unity C#
  2. 用于HTTP加密浏览的TW2.0插件
  3. 二,zabbix与php的一些问题
  4. 仿真环境Mininet的搭建
  5. TP5:异常处理封装——3
  6. JFinal常量配置学习笔记
  7. java applog_Java Web App: 选择与配置日志库
  8. TensorFlow 学习------第一天
  9. gta5线下联机_《GTA5》典藏版实物开箱,紫外线照射地图会有R星彩蛋
  10. cad修改快捷键_怎么编辑CAD快捷键?
  11. NX入门到提高全部视频教程
  12. c语言rc,RC低通滤波器中R和C参数选择
  13. 微信公众号-音频接口(上传、下载、辨音)
  14. HTML5+CSS3之快速入门 day6-day10布局,表单,css精灵,css hack,BFC规范
  15. 肖哥教你解决安装和运行eNSP过程中遇到的各种问题
  16. Kibana 7.13.2 启动时报错 TaskManager is unable to start as there the Kibana UUID is invalid
  17. 怎样看待Android的发展前景?以及Android开发的职业规划
  18. oracle 切换用户为scott
  19. FT232RL-REEL全隔离原理图,带I/O保护,防电流倒灌等
  20. firefly游戏服务器学习笔记 6———— db模块

热门文章

  1. vss 2005 手册
  2. 【FPGA入门教程】(二)FPGA学习路线及开发流程
  3. 爬取有道翻译自制小软件
  4. 高性能 低功耗Cortex-A53核心板 | i.MX8M Mini
  5. Bison 的构成与使用
  6. 解决微信公众号发布新的版本H5页面有缓存的问题
  7. 第 04 课 用户管理
  8. duplicate column name
  9. C语言怎么消除最后的回车键,多样例输出,如何去掉最后一个回车
  10. STM32彩灯控制器