centos服务器上的yum更新错误
yum update error on centos server
我试图在我的服务器上 运行 "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
我该如何解决这个问题?
通过删除所有 php 并使用 yum install php php-common 重新安装来解决。
我试图在我的服务器上 运行 "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
我该如何解决这个问题?
通过删除所有 php 并使用 yum install php php-common 重新安装来解决。