Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/arrays/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Server centos服务器上的yum更新错误_Server_Centos6_Yum - Fatal编程技术网

Server centos服务器上的yum更新错误

Server centos服务器上的yum更新错误,server,centos6,yum,Server,Centos6,Yum,我试图在我的服务器上运行“yum update”,但它给了我一个错误。下面是我键入“yum update”时输出的一部分 然后,我尝试键入“yum clean all”,认为这样可以解决我的问题。然而,最糟糕的是,它给了我另一个错误消息,甚至没有显示任何将要安装的软件包。(见下文) 如何修复此问题?通过删除所有php并使用yum install php common重新安装来解决 --> Running transaction check ---> Package libtidy.i

我试图在我的服务器上运行“
yum update
”,但它给了我一个错误。下面是我键入“yum update”时输出的一部分

然后,我尝试键入“
yum clean all
”,认为这样可以解决我的问题。然而,最糟糕的是,它给了我另一个错误消息,甚至没有显示任何将要安装的软件包。(见下文)


如何修复此问题?

通过删除所有php并使用yum install php common重新安装来解决

--> 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.
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