问题:大部分yum命令 ,其中包括yum list。都报以下错误:

已加载插件:fastestmirror
Determining fastest mirrors* base: mirrors.aliyun.com* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
base                                                                                                   | 3.6 kB  00:00:00
epel-apache-maven                                                                                      | 3.3 kB  00:00:00
extras                                                                                                 | 3.4 kB  00:00:00
nginx                                                                                                  | 2.9 kB  00:00:00
http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
正在尝试其它镜像。
To address this issue please refer to the below wiki article https://wiki.centos.org/yum-errorsIf above article doesn't help to resolve this issue please use https://bugs.centos.org/.One of the configured repositories failed (added from: http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm),and yum doesn't have enough cached data to continue. At this point the onlysafe thing yum can do is fail. There are a few ways to work "fix" this:1. Contact the upstream for the repository and get them to fix the problem.2. Reconfigure the baseurl/etc. for the repository, to point to a workingupstream. This is most often useful if you are using a newerdistribution release than is supported by the repository (and thepackages for the previous distribution release still work).3. Run the command with the repository temporarily disabledyum --disablerepo=nginx.org_packages_centos_7_noarch_RPMS_nginx-release-centos-7-0.el7.ngx.noarch.rpm ...4. Disable the repository permanently, so yum won't use it by default. Yumwill then just ignore the repository until you permanently enable itagain or use --enablerepo for temporary usage:yum-config-manager --disable nginx.org_packages_centos_7_noarch_RPMS_nginx-release-centos-7-0.el7.ngx.noarch.rpmorsubscription-manager repos --disable=nginx.org_packages_centos_7_noarch_RPMS_nginx-release-centos-7-0.el7.ngx.noarch.rpm5. Configure the failing repository to be skipped, if it is unavailable.Note that yum will try to contact the repo. when it runs most commands,so will have to try and fail each time (and thus. yum will be be muchslower). If it is a very temporary problem though, this is often a nicecompromise:yum-config-manager --save --setopt=nginx.org_packages_centos_7_noarch_RPMS_nginx-release-centos-7-0.el7.ngx.noarch.rpm.skip_if_unavailable=truefailure: repodata/repomd.xml from nginx.org_packages_centos_7_noarch_RPMS_nginx-release-centos-7-0.el7.ngx.noarch.rpm: [Errno 256] No more mirrors to try.
http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

最后翻译了一下,大概的意思是,上一个配置的源安装没有完成,卡住了,要不要跳过。

最后提示运行:

大坑搞了一晚上,真刺激。。。。。。。。。。。。。。。。

yum源失效,yum命令报错404相关推荐

  1. 更改yum源配置后执行报错[Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”

    更改yum源配置后执行报错 报错信息入下 //[root@bucktanc6 yum.repos.d]# yum clean all Loaded plugins: fastestmirror Cle ...

  2. 阿里云CentOS8服务器执行yum命令报错404

    今天想在阿里云CentOS8服务器上面安装mysql,执行yum命令报错: Errors during downloading metadata for repository 'AppStream': ...

  3. 树莓派(Raspberry Pi 3) centos7使用yum命令报错File /usr/bin/yum, line 30 except KeyboardInterrupt, e:...

    使用yum命令报错 File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: ^ SyntaxError: invalid ...

  4. yum命令报错在linux下,执行yum命令报错

    执行yum命令报错信息如下: [root@webserver ~]# yum list rpmdb: Thread/process 26604/140491933587200 failed: Thre ...

  5. Python Docker 镜像使用yum命令报错 except KeyboardInterrupt, e: SyntaxError: invalid syntax

    Python 环境 Centos Docker 镜像使用yum命令报错 except KeyboardInterrupt, e: SyntaxError: invalid syntax 在Python ...

  6. centos执行yum命令报错,There are no enable repos

    综合各种答案,归结原因有两大类 一:当前系统不支持yum工具 Linux系统分为两大类 RedHat系列:Redhat.Centos.Fedora.... 使用yum管理包,使用rpm命令安装rpm包 ...

  7. Linux中的软件管理(一)配置本地yum源及yum命令详解

    文章目录 yum源头是什么 yum源的分类 如何配置本地yum源指向 yum命令 yum命令使用的前提 yum命令的详细用法 软件安装包名称详解 yum源头是什么 yum源是一个软件集合地,只需要搜索 ...

  8. 运行yum install -y mssql-server命令时报错:

    运行yum install -y mssql-server命令时报错:Loaded plugins: fastestmirror File contains no section headers. f ...

  9. 404页面模板php,Thinkphp5老司机网站报错404页面模板源码

    来,来,来,学习下怎么做前端页面,分享个老司机网站报错404页面模板源码, 另外给提个建议,最好是有个地方可以上传源码文件的,这样子格式就不会有什么问题了.一般复制出去大家最好都用UTF-8格式. H ...

最新文章

  1. 拿到腾讯字节快手offer后,他的LeetCode刷题经验在GitHub上收获1.3k星
  2. eclipse版本、代号
  3. OpenGL 着色器的N体仿真
  4. 【NOIP2012】旅行计划
  5. 图论 —— 最大团问题
  6. Java学习(01-10天, 基本语法)
  7. smack android 示例代码,android客户端xmpp smack openfire简单开发实例
  8. V5-SP6:iocomp-32/iocomp-64-crack-免安装
  9. 我的数学建模之路:从国赛二等到美赛M奖!
  10. AI快捷键大全 2020
  11. 数据库索引的分类,类型,索引的优缺点,索引的优化
  12. 【NLP】讯飞英文学术论文分类挑战赛Top10开源多方案--1 赛后总结与分析
  13. 超千人围观,普及 “反诈” 常见场景及应对手段,还有黑灰产攻防手段
  14. 小米8样张彩色噪点问题分析
  15. Vim的几个高级玩法
  16. bad transparency mask. 解决办法
  17. Python-爬虫(生产者、消费者模型爬取王者荣耀壁纸)
  18. 高分辨率屏电脑 centos虚拟机屏幕使字体变大的方法
  19. android 毫秒 计时器,Android时分秒计时器的两种实现方法
  20. 以太坊源码阅读3——MPT原理

热门文章

  1. 一个例子看懂kotlin的集合和序列
  2. Socket 基础解析使用ServerSocket建立聊天服务器
  3. JavaScript语言基础9
  4. select子查询多个字段_SQL复杂查询
  5. laravel数据库操作
  6. Swift之Delegate/闭包
  7. 线程里面的yield();方法(让出线程)
  8. CentOS 配置防火墙操作实例(启、停、开、闭端口)
  9. [转]REMOTE_ADDR,HTTP_CLIENT_IP,HTTP_X_FORWARDED_FOR
  10. 【转】 浏览器分析模拟登陆过程