https://packages.elastic.co/elasticsearch/2.3/centos/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22

操作系统CENTOS

#  yum install  xinetd

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirrors.btte.net
pgdg94                                                                                                  | 4.1 kB     00:00     
https://packages.elastic.co/elasticsearch/2.3/centos/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ticsearch-2.3. Please verify its path and try again


原因是https://packages.elastic.co/elasticsearch/2.3/centos/repodata/repomd.xml 文件不存在

解决方法:删掉/etc/yum.repos.d/Elasticsearch.repo 即可

你可能感兴趣的:(linux)