在ubuntu上安装了yum,执行yum命令就报错:
There are no enabled repos. Run “yum repolist all” to see the repos you have. You can enable repos

按照提示输入yum repolist all,啥也没有,百度查了一堆,乱七八糟,都不行。弄了我好久。后来知道为啥了。

我就不该安装yum,因为我用的是Ubuntu。

一般来说Linux系统基本上分两大类:

RedHat系列:Redhat、Centos、F edora等

Debian系列:Debian、Ubuntu等

RedHat系列:

1.常见的安装包格式rpm包、安装rpm包的命令:rpm-参数

2.包管理工具yum

3.支持tar包

Debian系列:

1.常见的安装包格式deb包、安装rpm包的命令:deb-参数

2.包管理工具apt-get

3.支持tar包

所以,也就是说,直接用apt-get就行了,别用yum。

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

  1. CentOS中输入yum报错:sudo: unable to execute /bin/yum: No such file or directory

    今天尝试更新了下虚拟机CentOS中的python版本后. 运行"yum"命令,就报错:"sudo: unable to execute /bin/yum: No suc ...

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

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

  4. yum报错failure: repodata/repomd.xml from Centos: [Errno 256] No more mirrors to try. importing repomd.

    yum报错failure: repodata/repomd.xml from Centos: [Errno 256] No more mirrors to try. importing repomd. ...

  5. yum 报错: If above article doesn‘t help to resolve this issue please use https://bugs.centos.org/.

    yum 报错 1. 报的错 2. 解决 3. /etc/yum.repos.d/epel.repo 文件 1. 报的错 If above article doesn't help to resolve ...

  6. 解决yum 不能更新问题 :yum 报错Loaded plugins: fastestmirror, refresh-packagekit, security

    解决yum 不能更新问题 :yum 报错Loaded plugins: fastestmirror, refresh-packagekit, security 参考文章: (1)解决yum 不能更新问 ...

  7. epel安装第三方扩展源后,运行yum报错的解决方案

    epel安装第三方扩展源后,运行yum报错的解决方案 参考文章: (1)epel安装第三方扩展源后,运行yum报错的解决方案 (2)https://www.cnblogs.com/jingxiaoni ...

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

  9. Linux 安装yum报错Could not resolve host 转载

    Linux 安装yum报错Could not resolve host 已加载插件:langpacks http://update.cs2c.com.cn:8080/NS/V7/V7Update4/o ...

最新文章

  1. Xilinx ISE 调用 ModelSim SE 库编译
  2. 大厅安排(normal)
  3. 新建maven(servlet项目) 引入不了HttpServlet
  4. 模型训练太慢?显存不够用?这个算法让你的GPU老树开新花
  5. java setundecorated_java JFrame中与setUndecorated()相关的几个特效
  6. VS2012解决方案的设置
  7. 知行动手实验室可以用来做什么?
  8. python主线程执行回调函数_Python并发编程06 /阻塞、异步调用/同步调用、异步回调函数、线程queue、事件event、协程...
  9. 武汉.NET俱乐部12月活动图片及课件下载
  10. SylixOS 启动时mmu 初始化
  11. json 格式化工具/网站
  12. WiFi基础知识解析
  13. windows最好用的mp3格式转换软件推荐
  14. C语言中的数组(4)---二维数组的定义
  15. 移动开发采用什么平台好?
  16. mysql查询耗时操作_mysql记录耗时的sql实例详解
  17. 数据库事务的四个性质
  18. endnote中CWYW无文件_文献管理工具(三):EndNote 操作指南(免费在线版)
  19. 东杰转债上市价格预测
  20. mysql免安装版安装教程

热门文章

  1. Unity实现人物移动和镜头跟随
  2. Python爬虫学习笔记
  3. 详解Dell EMC发布的PowerMax存储和R系列计算系统
  4. 大佬帮忙看看加密ts流的.key文件内容,用的是什么加密算法
  5. 神经网络训练样本的标签,训练图像识别神经网络
  6. centos8升级centos stream 8
  7. 计算机应用基础教程ppt 洪歧,计算机应用基础案例教程(清华)
  8. 没想到吧?快手竟然给厕所上安装了计时器,或许职场从此再无「带薪拉屎」...
  9. 系统架构设计基础(一)
  10. java毕业设计开题报告jsp企业电子投票系统|问卷