也就是说,你配置了太多的目标软件仓库库,导致yum在寻找的时候发生了混乱。果然,我查看了一下:
ls /etc/yum.repos.d
发现好多的*.repo,试着打开一个,看到就是类似与一个地址的配置。看到有两个貌似官方的配置文件,保留下来,其他的通通删除。
然后执行了yum clean all
OK,然后再执行yum -y update,我靠,成功了,就看着一直下载,等了N长的时间。
那边等边写了,yum不需要任何日常的维护,为了保证yum的操作速度,应当禁用或删除那些不再需要的仓库,可以删除yum缓存中的文件,从而节省硬盘空间。
禁用的方法可以在仓库的描述文件中设置enable=0,yum工具忽略包含这一设置的描述文件。
要彻底删除一个仓库,可以从/etc/yum.repos.d/目录中删除相关的文件,从/var/cache/yum中删除相关的缓存目录
默认情况下,yum保留它下载的软件包和软件信息文件,这样下次不用重新下载,要删除软件文件信息,使用命令:
yum clean headers
要删除缓存中所有的软件包,使用命令:
yum clean packages

You have installed a lot of useless repos and Yum is not working properly becaus相关推荐

  1. 关于yum安装后提示There are no enabled repos Run yum repolist all..的问题解决

    关于yum安装后提示There are no enabled repos Run "yum repolist all"-的问题解决 1).一般情况下是因为wget未安装导致的,先去 ...

  2. 使用yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.

    在ubuntu上安装了yum,执行yum命令就报错: There are no enabled repos. Run "yum repolist all" to see the r ...

  3. Redhat7 yum安装有问题+yum无法使用+There are no enabled repos. Run “yum repolist all“ to see the repos you ha

    已加载插件:product-id, search-disabled-repos, subscription-manager This system is not registered with an ...

  4. There are no enabled repos. Run “yum repolist all“ to see the repos you have. You can enable repos问题

    今天安装yum后使用yum安装软件,报There are no enabled repos. Run "yum repolist all" to see the repos you ...

  5. 已加载插件: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 ...

  6. 【yum命令】使用yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.

    在ubuntu上安装了yum,执行yum命令就报错: There are no enabled repos. Run "yum repolist all" to see the r ...

  7. ubuntu16.04 yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.

    如图错误: [root@ubuntu /home/arnold/Arnold_test/20211023_Nginx]1# yum -y install make zlib zlib-devel gc ...

  8. yum 不能安装应用,提示There are no enabled repos Run yum repolist all

    一般来说著名的linux系统基本上分两大类: 1 RedHat系列:Redhat.Centos.Fedora等 2 Debian系列:Debian.Ubuntu等 RedHat 系列: 1 常见的安装 ...

  9. redhat7配置yum repos软件仓库远程yum

    redhat7配置yum repos软件仓库&远程yum Red Hat Enterprise Linux 7 安装后,执行yum命令是提示无可用yum repos(There are no ...

最新文章

  1. C驱动程序是怎么跑起来的
  2. UriComponentsBuilder和UriComponents url编码
  3. VisualStudio 的 Spy++ —— 窗口、消息 的 查看分析利器
  4. PYTHON2.day06
  5. 用户遭骚扰质疑隐私被航旅纵横泄露 回应:用户有开启关闭的自主权
  6. Bots Inc宣布订购1000台比特币矿机,价值400万美元
  7. PHP根据开始、结束时间:计算开始、结束时间占当月总天数的百分比
  8. 舆情监控系统python开源_舆情监测系统开源
  9. RGMII以太网测试方案
  10. 快捷键,总结一些实用高效的快捷键
  11. 大连IT产业解析(2人才篇)
  12. 迎接天翻地覆的重大演变:微软加速器区块链论坛成功举办
  13. Echarts Map地图类型使用
  14. 苹果mac电脑如何卸载软件?及清理垃圾缓存详细教程
  15. 湿敏电阻的原理,结构,分类与应用场景要点总结
  16. 业务+IT一体化就是BPO?
  17. 为什么墨刀的动效这么酷炫?学会神奇移动,你也可以
  18. hive表中的数据导出
  19. python如何压缩文件?
  20. 从客户端中检测到有潜在危险的 request.form值[解决方法]

热门文章

  1. Codeforces Round #749 (Div. 1 + Div. 2, based on Technocup 2022 Elimination Round 1)
  2. 西电计算机学院有保研清华的吗,北邮西电保送清华人数进前10,不输双一流,哪些大学学生能读清华...
  3. process_vm_readv/writev进程间数据传输
  4. 【无标题】【2023最新版】超详细Sqlmap安装保姆级教程,SQL注入使用指南,收藏这一篇就够了
  5. 苹果平板不用原装笔可以吗?值得入手的几款ipad触控笔
  6. 蓝易云:linux怎么关闭防火墙详细教程
  7. 公司员工转正申请书示例
  8. How to Use Matlab Publish Smartly
  9. LeetCode 876 题解
  10. 高光谱遥感数值建模技术及在植被、水体、土壤信息提取领域中的应用