centos服务器上的yum更新错误

时间:2015-09-07 04:20:24

标签: server centos6 yum

我试图在我的服务器上运行“yum update”,但它给了我一个错误。当我输入“yum update”

时,下面是输出的一部分
--> 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

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

解决了删除所有的PHP并使用yum install php php-common重新安装它。

相关问题