【发布时间】:2017-03-03 16:49:24
【问题描述】:
我正在运行 CenotOS 6.8 x64。每当我尝试安装某些东西或更新我的软件包时,我都会收到以下错误:
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
epel-custom/metalink | 25 kB 00:00
* base: ftp.pbone.net
* centosplus: ftp.wcss.pl
* epel-custom: ftp.pbone.net
* extras: ftp.pbone.net
* updates: ftp.wcss.pl
base | 3.7 kB 00:00
base/primary_db | 4.7 MB 00:01
centosplus | 3.4 kB 00:00
centosplus/primary_db | 1.4 MB 00:00
epel-custom | 4.3 kB 00:00
epel-custom/primary_db | 5.9 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 37 kB 00:00
puppetlabs-deps | 2.5 kB 00:00
puppetlabs-deps/primary_db | 27 kB 00:00
puppetlabs-deps-custom | 2.5 kB 00:00
puppetlabs-deps-custom/primary_db | 27 kB 00:00
puppetlabs-products | 2.5 kB 00:00
puppetlabs-products/primary_db | 170 kB 00:00
puppetlabs-products-custom | 2.5 kB 00:00
puppetlabs-products-custom/primary_db | 170 kB 00:00
talanx | 1.5 kB 00:00
talanx/primary | 6.2 kB 00:00
talanx 18/18
talanx_custom | 1.5 kB 00:00
talanx_custom/primary | 1.9 kB 00:00
talanx_custom 12/12
updates | 3.4 kB 00:00
http://ftp.wcss.pl/pub/linux/centos/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
http://centos.komster.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror-pl.kielcetechnologypark.net/centos/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos.hitme.net.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos2.hti.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos1.hti.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.ps.pl/pub/Linux/CentOS/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos.po.opole.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.prz.edu.pl/centos/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
ftp://ftp.man.szczecin.pl/pub/Linux/centos/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 19 - "Given file does not exist"
Trying other mirror.
http://ftp.wcss.pl/pub/linux/centos/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos.komster.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror-pl.kielcetechnologypark.net/centos/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos.hitme.net.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos2.hti.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos1.hti.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.ps.pl/pub/Linux/CentOS/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://centos.po.opole.pl/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.prz.edu.pl/centos/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
ftp://ftp.man.szczecin.pl/pub/Linux/centos/6.8/updates/x86_64/repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 19 - "Given file does not exist"
Trying other mirror.
Error: failure: repodata/7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
updates: [Errno 256] No more mirrors to try.
我检查了更新 repo 的镜像路径,看起来 2016 年 10 月 19 日有更新。我尝试通过运行以下命令来解决此问题:
yum clean all
yum clean metadata
yum update
但上面没有工作。我知道我可以禁用回购,但这不是我需要的解决方案。有没有人遇到过类似的问题?
提前谢谢你
编辑 答案是: 以防万一问题是日期和时间不正确。
【问题讨论】:
-
您可能需要更新
repo.conf内/etc/yum.repos.d中指定的地址。 -
我想我不明白。我假设您希望我编辑例如CentOS-Base.repo。如果是,那么我可以说地址没问题。 /etc/ 目录中 yum.repos.d 或 yum.conf 的配置没有任何变化。
-
啊,是的。非常遗憾。我的错。我的意思是每当更新镜像正在寻找 7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2 时,它都会给我 404 错误。原因是因为它的镜子没有了。当我去例如ftp.wcss.pl/pub/linux/centos/6.8/updates/x86_64/repodata 我看到 gz 文件在 10 月 19 日更新。
-
哦,现在我明白了。抱歉,我不知道在哪里修改该代码的输入,或者是否有可能。
-
Stack Overflow 是一个编程和开发问题的网站。这个问题似乎离题了,因为它与编程或开发无关。请参阅帮助中心的What topics can I ask about here。也许Super User 或Unix & Linux Stack Exchange 会是一个更好的提问地方。另见Where do I post questions about Dev Ops?
标签: linux centos centos6 mirror