Centos 6.8 - 更新回购问题

时间:2016-10-21 11:29:22

标签: linux centos centos6 mirror

我正在运行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

但上面没有用。我知道我可以禁用回购,但这对我来说不是解决方案,因为我需要它。有没有人有类似的问题?

先谢谢你

修改 答案是: 以防问题是日期和时间不正确。

3 个答案:

答案 0 :(得分:0)

对不起,我很抱歉。但我认为我的建议可以帮助其他人解决这个问题。

首先,您必须查看yum更新的错误消息 ,其中repo崩溃了yum的工作过程。例如,在我的情况下,我遇到了 home_dtufys 的问题,其中显示了错误消息。因此,我已经知道我必须通过使用home_dtufys repo文件来解决问题。

...我去了这个目录

cd /etc/yum.repos.d

...我列出了存储在这个目录中的repo文件并找到了与home_dtufys一起发布的repo文件,然后我看到 home:dtufys.repo

...然后我打开从 yum update

中发现错误的repo文件
sudo vi home:dtufys.repo

...要在下次更新时禁用请求此回购,我在启用行中将数字1更改为0.

enable=0

...然后我保存并退出并再次进行yum更新。

yum clean all
yum update

希望您和其他用户解决此问题。

答案 1 :(得分:0)

引起它的是时间和日期漂移。

答案 2 :(得分:-1)

/etc/yum/pluginconf.d/fastestmirror.conf 在“启用”选项

上将1更改为0

yum clean all

yum update

在此之后,您可以启用rapidmirror插件。

我也有这个问题。