2015-09-07 55 views
0

我試圖在服務器上運行「yum update」,但它給了我一個錯誤。下面是輸出的一部分,當我鍵入「百勝更新」Centos服務器上的yum更新錯誤

--> Running transaction check 
---> Package libtidy.i686 0:0.99.0-19.20070615.1.el6 will be installed 
---> Package php-common.i686 0:5.3.3-46.el6_6 will be installed 
---> Package pytalloc.i686 0:2.0.7-2.el6 will be installed 
http://mirror01.idc.hinet.net/EPEL/6/i386/repodata/5d15e6d6e1b58456584beb7bbb0b6  46495aff0da11b1211c208afbddf9a73eed-filelists.sqlite.bz2: [Errno 14] PYCURL ERRO  R 22 - "The requested URL returned error: 404 Not Found" 
Trying other mirror. 
http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/i386/repodata/5d15e6d6e1b58456584  beb7bbb0b646495aff0da11b1211c208afbddf9a73eed-filelists.sqlite.bz2: [Errno 14] P  YCURL ERROR 22 - "The requested URL returned error: 404 Not Found" 
Trying other mirror. 

於是,我試着鍵入「yum clean all」的思想,將解決我的問題。然而,它變得最糟糕,它給了我另一個錯誤信息,甚至沒有顯示任何將被安裝的軟件包。 (見下文)。

Loaded plugins: fastestmirror, refresh-packagekit, replace, security 
Loading mirror speeds from cached hostfile 
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 

我該如何解決這個問題?

回答

0

通過刪除所有的PHP解決並重新使用yum安裝php php-common重新安裝。

相關問題