试图卸载elasticsearch

时间:2018-03-29 13:23:41

标签: elasticsearch rhel7

尝试卸载elasticsearch。

当我执行以下操作时:

[root@sys1 user]# rpm -i elasticsearch-6.2.3.rpm

我明白了:

warning: elasticsearch-6.2.3.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
        package elasticsearch-0:6.2.3-1.noarch is already installed

然后我尝试这样做:

[root@sys1 user1]# rpm --erase elasticsearch-6.2.3.rpm

但是得到以下错误:

error: package elasticsearch-6.2.3.rpm is not installed

1 个答案:

答案 0 :(得分:0)

您可以按如下方式删除包裹:

rpm --erase elasticsearch-0:6.2.3-1.noarch