CentOS6在使用yum install 时提示镜像源路径不存在:PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found
场景
CentOS6.9的版本在使用
yum install gcc-c++
安装C和C++的插件时提示:
PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found“
注:
博客:
https://blog.csdn.net/badao_liumang_qizhi
关注公众号
霸道的程序猿
获取编程相关电子书、教程推送与免费下载。
实现
一开始在使用yum安装插件时提示:
Loading mirror speeds from cached hostfile
Nothing to do
就是找不到镜像源,所以通过
cd /etc/yum.repos.d
mv CentOS-Base.repo CentOS-Base.repo.backup
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
mv CentOS6-Base-163.repo CentOS-Base.repo
yum clean all
以上的命令更换为163的数据源又报了上面的错误。
再执行以下命令
wget -O /etc/yum.repos.d/CentOS-Base.repo http://file.kangle.odata.cc/repo/Centos-6.repo
wget -O /etc/yum.repos.d/epel.repo http://file.kangle.odata.cc/repo/epel-6.repo
yum makecache
就能使用yum命令了。
CentOS6在使用yum install 时提示镜像源路径不存在:PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found相关推荐
- 更改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 ...
- git push 失败,提示:error: RPC failed; HTTP 411 curl 22 The requested URL returned error: 411
1.场景描述 因为某些原因,在家里用自己电脑工作了三天,其中前端项目中有几个宣传页,所以引入很多图片,还有一些依赖.在最后想要将代码 push 到远程仓库时,出问题了.在git add 和git co ...
- Jenkins中连接Git仓库时提示:error: The requested URL returned error: 401 Unauthorized while accessing
场景 在Jenkins中新建任务后,在源码管理中选择Git,并且通过用户名和密码的 凭证方式连接到Git仓库时提示: error: The requested URL returned error: ...
- CentOS6.9中使用yum install时提示:Cannot find a valid baseurl for repo: centos-sclo-rh
场景 CentOS的版本为6.9,在使用yum install 安装相关依赖时提示: Cannot find a valid baseurl for repo: centos-sclo-rh 注: 博 ...
- yum install时提示This system is not registered with an entitlement server
This system is not registered with an entitlement server 1.Uninstall yum package 2.Yum Repo 在一秒钟内看到本 ...
- git push到远程仓库时出现unable to access 'https://github.com/**': The requested URL returned error: 403
出现这种问题主要是因为用其他的GitHub账号push时出错, 问题主要出在原注册账号上,系统保存了账号的信息.在使用新帐号时,信息不一致,所以报错. 解决方案 打开cmd,输入命令:rundll32 ...
- centos yum “The requested URL returned error: 404”错误
CentOS-Base.repo里面变量不能被引用.直接修改CentOS-Base.repo修改baseurl这一行的变量即可, [root@bogon yum.repos.d]# yum makec ...
- Python中使用pip安装库时指定镜像源为豆瓣镜像源
场景 在使用pip进行安装库时,使用默认的库会很慢,甚至有时会出现远程主机中断了一个现有连接. 怎样在使用pip install 时指定镜像源为豆瓣镜像源. 实现 pip install moviep ...
- Ubuntu中重启ssh服务时提示:Job for ssh.service failed because the control process exited with error code. See
场景 在Ubuntu中重启ssh服务时提示: Job for ssh.service failed because the control process exited with error code ...
最新文章
- 使用idea编写代码作为生产者,Kafka接收其发来的信息【小案例】(一)
- 使用shell脚本调用mysql数据库存储过程,并设置定时任务
- 使用Angular rxjs打印鼠标点击事件的x坐标之和
- CodeForces - 1141CPolycarp Restores Permutation搜索+剪枝
- Redis源码解析:21sentinel(二)定期发送消息、检测主观下线
- C#高级应用之CodeDomProvider引擎篇 .
- 小汤学编程之JAVA基础day13——I/O流
- 没有为 ucrtbase.dll 加载符号_深入理解Java虚拟机(类加载机制)
- Python3安装cx_Oracle连接oracle数据库实操总结
- python网络爬虫笔记(九)
- 使用Bert/ERNIE进行中文短文本分类(附数据集)
- dfs时间复杂度_Python实现图的经典DFS、BFS、Dijkstra、Floyd、Prim、Kruskal算法
- 【linux系统学习笔记】运行startx后Ubuntu密码正确进不去的问题
- Atitit 项目常用模块 非业务模块 通用技术模块 attilax大总结 理论上可行。但要限制接口方式。 不然现在很多ui与后端接口模式很多,导致组合爆炸。。。 常用模块也就100来个而已。。
- 【生信进阶练习1000days】day15-SRAdbV2包
- httpclient下载图片或者其他文件
- 如何通过企业微信做精细化社群运营
- 二层交换机实现不同vlan通信
- iOS 全横屏app设置
- 英语的计算机软件如何拼写,软的英文单词
热门文章
- 梯度下降法进行线性回归---------二维及多维
- AcWing算法提高课 Level-3 第四章 高级数据结构
- ifstat 命令查看linux网络I/O情况
- MyBatis-Plus 快速开始及详测 SpringBoot 集成Mybatis-Plus
- 计算机cpu 和 主板型号,CPU和主板怎么搭配?intel七代/八代/九代处理器和主板搭配对照表...
- win10 ping不通解决方案
- python lib head,使用Python 2中的urllib2发出HTTP HEAD请求
- python绘制数字_#0000在一个图片上画一个数字
- python怎么安装本地的egg_python egg怎么安装
- centos7 nat模式配置静态ip_Manjaro 配置静态网络IP