yum 下载失败The requested URL returned error: 404 Not Found
发布日期:2021-05-10 03:10:40 浏览次数:10 分类:精选文章

本文共 4016 字,大约阅读时间需要 13 分钟。

CentOS 6 ������������ yum ������������������������������������������������������������������������������������������

umRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination

���������������������������������������������������������

Berry 14: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
������: Cannot find a valid baseurl for repo: base

���������������������������������������������������������������������������������������������������������������������������������

1. ������������������������

������������������������������������������������������������������������������������������������

ip addr show

��������� IP ������ ���������������������������������������������

2. ��������������������� DNS

������������ DNS ������������������ repository_mirrorcount��������������������������� Google ��������� DNS ������������������������

nslookup 8.8.8.8

������ DNS ��������������������������������� DNS ������������������������������ DNS ���������

3. ������������ YUM ���

������������������������������������������������������������������������������������������������

������������ /etc/yum.conf ������ baseurl ��� mirrorlist ��������������������������� yum ������������

���������������������������������������������������������������

4. ���������������������

������������������������������ yum ���������������������������������������������������������������������

systemctl status���������������������

������������������������ port 80/http ��� 443/https ���������������������������������������������

5. ������ yum ������������������������

������������������������������������������������������������������������������ /etc/yum.repos.d/CentOS-*.repo ������������������������������ ID ��� base ��� repo ���������

������ baseurl ��� mirrorurl ���������������������

6. ���������������������������������������������������������

��������������������������������������������������������������������������������������������������� YUM ���������������

7. ������������������������������������������

��� yum ���������������������������������������������������������������������������������������

name=CentOS-6 Base  baseurl=https://repo.centos.org/centos/6-stream/  enabled=1  gpgcheck=1  repo_gpgkeys url=...)  name=������������������  baseurl=https://archive.apache.org/  enabled=1

8. ������ yum clean Coordination () ���������������������������

������������������������������������������������������������������������������������������������

������������������������������������������������������������

yum clean metadata yum makecache

9. ������������������������������������������

��������������������������������������������������������������������� <mirror_url> ��������� .repo ������������������������������������ weitereuipment.

������ router��������������������������������������������� <os-release> ��������� <mirrorarchive> ������������������������������������������������

10. ������������������������������������

������������������������������������������������������������������������������������������ GPG ���������������������

������������������������������

tail -f /var/log/yum.log

������������������������������������������������������������������������������������

11. ������ yum repolist ���������������������������

������ yum repolist ��������������������������������������������������������� YUM ���������

yum repolist������������������������������������������������������

���������������������������������������������

yum repolist info

12. ���������������������������������������������������

���������������������������������������������������������������������������������������������������������������������������������

������������������������������������������������ erkn ��� coprime ������������������������������������������

������������������������������ YUM ������������������������������������������������������������������������������������������������������������������������������������������������������������������������

上一篇:flume使用中的一些常见错误解决办法 (地址已经使用)
下一篇:第一章 flume简介(详细版本)

发表评论

最新留言

能坚持,总会有不一样的收获!
[***.219.124.196]2025年04月25日 13时52分45秒