配置docker的源的时候 报错了.

[root@vagrant-centos65 yum.repos.d]# yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
Loaded plugins: fastestmirror, versionlock
adding repo from: http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
grabbing file http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo to /etc/yum.repos.d/docker-ce.repo
http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Trying other mirror.
Could not fetch/save url http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo to file /etc/yum.repos.d/docker-ce.repo: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"


查了很久 多半是什么404然后改下源.
Yum源损坏,按照如下进行下载并替换:
先把原本的yum源重命名进行保存
然后到http://mirrors.163.com/.help/centos.html下载自己需要的版本,我这里是centos6,
按照这个说的修改没效果.

最后在:/etc/yum.repos.d下发现已经有了一个docker-ce.repo
我把这个文件删除后,重新add-repo下就ok了

[Errno 14] PYCURL ERROR 22 - The requested URL returned error: 416 Requested Range Not Satisfiable相关推荐

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

  3. git 提交失败 HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large

    为什么80%的码农都做不了架构师?>>>    关于git提交失败报错POST git-receive-pack (chunked)或者HTTP 413 curl 22 The re ...

  4. git push 失败,提示:error: RPC failed; HTTP 411 curl 22 The requested URL returned error: 411

    1.场景描述 因为某些原因,在家里用自己电脑工作了三天,其中前端项目中有几个宣传页,所以引入很多图片,还有一些依赖.在最后想要将代码 push 到远程仓库时,出问题了.在git add 和git co ...

  5. git -- RPC failed; HTTP 403 curl 22 The requested URL returned error: 403

    错误: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403 原因: 账户没有读写权限,联系管理索要权限 排查方法: 使 ...

  6. git push error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403

    这是远程链接错误,请求不到服务器 解决办法:找项目管理员帮你开push权限就可以了 参考链接: git push error: RPC failed; HTTP 403 curl 22 The req ...

  7. error: The requested URL returned error: 401 Unauthorized while accessing

    在使用git pull.git push.git clone会报类似如下的错误:  error: The requested URL returned error: 401 Unauthorized ...

  8. 解决github push错误The requested URL returned error: 403 Forbidden while accessing(转)

    github push错误: git push error: The requested URL returned error: 403 Forbidden while accessing https ...

  9. fatal: unable to access : The requested URL returned error: 403

    错误提示如下 C:\Users\AllenIverson\Desktop\gitbook-test>git push -u gitbook master remote: Forbidden fa ...

最新文章

  1. 如何解决传输模式解决FTP连接问题
  2. 12月20日学习内容整理:博客系统之media配置
  3. 四年才等来的一天,务必要立志,要下决心!
  4. 早晨爬山,三餐自备——程序员也可以这样生活、工作
  5. android xml 列表展示,Android中ListView实现展示列表数据
  6. Let's Encrypt(开源SSL证书管理工具)
  7. Net中的AOP系列之《方法执行前后——边界切面》
  8. Android数据库框架总结
  9. c语言资产管理系统,c语言图书资产管理系统.doc
  10. Atitit 组织软资产建设 知识管理 经济学架构体系
  11. 无人机——凤凰模拟器篇(五)遥控器的配置教程
  12. tomcat打印日志 linux,linux服务器修改tomcat日志输出路径方法
  13. 洛谷 P3403 跳楼机
  14. 染色基础知识(四)——怎么染?
  15. 2013-2015南京大学历史学系若干考试题目汇编
  16. Pyecharts 1.7.0制作图表,运行生成的html文件用浏览器打开空白问题(以桑基图为例)
  17. 比尔盖茨的十大人生定律中英对照
  18. HTML 中 a:link ...什么意思
  19. 大话Stable-Diffusion-Webui-客制化主题(四)
  20. 100道Java实习生需要掌握的面试问题

热门文章

  1. Hadoop HA中EditLogTailer的作用
  2. SpringCloud系列——12Spring Cloud实战之统一认证与授权
  3. python全栈开发之正则表达式和python的re模块
  4. iOS13屏蔽自动更新描述文件
  5. kaggle新手第三场比赛——Instant-Gratification-top3%(1)
  6. 大数据在5G应用场景下有哪些示范项目?
  7. BZOJ 1875 [SDOI2009]HH去散步 矩阵乘法
  8. python pandas怎么修改Excel表格字体颜色?
  9. 看到了Pixel 3的刘海,互联网都笑了。。
  10. INS - 32012