0

我正在运行 Centos 6,每当我运行时,sudo yum -y install elasticsearch-1.1.1'我都会得到以下信息:

Loaded plugins: fastestmirror
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package matching elasticsearch-1.1.1-1.noarch already installed. Checking for update.
Nothing to do

每当我尝试修改位于 /etc/elasticsearch/elasticsearch.yml 的 yaml 文件时,该目录都不存在。这是否意味着我的 yum 没有将文件写入目录?

4

1 回答 1

0

我用了:

rpm -e --nodeps `yum 列表已安装 | grep elasticsearch.noarch | awk '{ 打印 $1 }'

于 2015-09-24T03:40:08.240 回答