Centos 6.8 - 更新回购问题
Centos 6.8 - Updates repo issues
我是 运行 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.
我已经检查了更新存储库的镜像路径,似乎在 2016 年 10 月 19 日有更新。我已尝试通过以下命令 运行 修复此问题:
yum clean all
yum clean metadata
yum update
但以上方法无效。我知道我可以禁用 repo,但这不是我需要的解决方案。有人遇到过类似问题吗?
提前致谢
编辑
答案是:
以防万一问题是日期和时间不正确。
/etc/yum/pluginconf.d/fastestmirror.conf
在 "enabled" 选项上将 1 更改为 0
yum 清除所有
yum 更新
之后您可以启用 fastestmirror 插件。
我也有这个问题。
很抱歉这么晚才回复。但我认为我的建议可能会帮助其他人解决这个问题。
首先,您必须查看来自 yum 更新的错误消息,repo 使 yum 的工作过程崩溃.例如,在我的案例中,我遇到了错误消息中显示的 home_dtufys 的问题。因此我已经知道我必须通过对 home_dtufys 回购文件做一些事情来解决这个问题。
...我去这个目录
cd /etc/yum.repos.d
...我列出存储在该目录中的 repo 文件并找到与 home_dtufys 相关的 repo 文件,然后我看到 home:dtufys.repo.
... 然后我打开从 yum update
遇到错误的 repo 文件
sudo vi home:dtufys.repo
...为了在下次更新时禁用请求此 repo,我将启用行中的数字 1 更改为 0。
enable=0
...然后我保存并退出并再次执行 yum 更新。
yum clean all
yum update
希望您和其他用户解决这个问题。
是时间和日期漂移造成的。
我是 运行 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.
我已经检查了更新存储库的镜像路径,似乎在 2016 年 10 月 19 日有更新。我已尝试通过以下命令 运行 修复此问题:
yum clean all
yum clean metadata
yum update
但以上方法无效。我知道我可以禁用 repo,但这不是我需要的解决方案。有人遇到过类似问题吗?
提前致谢
编辑 答案是: 以防万一问题是日期和时间不正确。
/etc/yum/pluginconf.d/fastestmirror.conf 在 "enabled" 选项上将 1 更改为 0
yum 清除所有
yum 更新
之后您可以启用 fastestmirror 插件。
我也有这个问题。
很抱歉这么晚才回复。但我认为我的建议可能会帮助其他人解决这个问题。
首先,您必须查看来自 yum 更新的错误消息,repo 使 yum 的工作过程崩溃.例如,在我的案例中,我遇到了错误消息中显示的 home_dtufys 的问题。因此我已经知道我必须通过对 home_dtufys 回购文件做一些事情来解决这个问题。
...我去这个目录
cd /etc/yum.repos.d
...我列出存储在该目录中的 repo 文件并找到与 home_dtufys 相关的 repo 文件,然后我看到 home:dtufys.repo.
... 然后我打开从 yum update
遇到错误的 repo 文件sudo vi home:dtufys.repo
...为了在下次更新时禁用请求此 repo,我将启用行中的数字 1 更改为 0。
enable=0
...然后我保存并退出并再次执行 yum 更新。
yum clean all
yum update
希望您和其他用户解决这个问题。
是时间和日期漂移造成的。