2016-10-21 76 views
-3

我正在運行CenotOS 6.8 x64。每當我試圖安裝或更新我的包,我得到以下錯誤:Centos 6.8 - 更新回購問題

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年十月我已經嘗試了19日更新這通過運行以下命令:

yum clean all 
yum clean metadata 
yum update 

但上面沒有工作。我知道我可以禁用回購,但這不是我需要的解決方案。有沒有人有類似的問題?

預先感謝您

編輯 答案是: 以防萬一的問題是與不正確的日期和時間。

+0

您可能需要更新'/etc/yum.repos.d'中'repo.conf'中指定的地址。 –

+0

我想我不明白。我想告訴你如何編輯CentOS的-Base.repo內。如果是,那麼我可以說地址是好的。在配置方面,沒有任何改變在/ etc /目錄中的yum.repos.d或yum.conf中。 –

+0

啊,是的。非常遺憾。我的錯。我的意思是每當更新鏡像正在尋找7a5afcba7da77c73ceb53ea76c8d05a258d74d38bc0f63b0666a9ee8ebb58f99-primary.sqlite.bz2它給我404錯誤。原因是因爲鏡子不再有了。當我去例如http://ftp.wcss.pl/pub/linux/centos/6.8/updates/x86_64/repodata/我看到gz文件在10月19日更新。 –

回答

0

這是造成它的時間和日期漂移。

-1

/etc/yum/pluginconf.d/fastestmirror.conf 變化1比0的 「已啓用」 選項

百勝清潔所有

百勝更新

這一點,你可以使fastestmirror後插入。

我也有這個問題。

0

對不起,我很晚回覆。但我認爲我的建議可能會幫助其他人解決這個問題。

首先你必須有從百勝更新看看錯誤信息其回購崩潰工作百勝的過程。例如,在我的情況下,我遇到了一個與home_dtufys相關的問題,它顯示在錯誤消息中。因此我已經知道我必須通過使用home_dtufys回購文件來解決問題。

...我去這個目錄

cd /etc/yum.repos.d 

...我列出存儲在這個目錄中,找到與home_dtufys egarding,然後我看到家回購回購文件的文件:dtufys。回購

...然後我打開碰到的錯誤從回購文件百勝更新

sudo vi home:dtufys.repo 

...要禁用此項請求回購在更新的下一次,我換了號碼啓用行中的1到0。

enable=0 

...然後我保存並退出並重新執行yum更新。

yum clean all 
yum update 

希望你和其他用戶修復這個問題。