How to uninstall Filebeat using Yum


#1

Hi,
I am trying to install Filebeat-alpha version on a machine which already had an older version of filebeat running.
How can I upgrade to Filebeat-alpha. I tried to follow install instructions for alpha version but I am getting below error:

Preparing packages for installation... file /etc/filebeat/filebeat.template.json from install of filebeat-5.0.0_alpha3-1.x86_64 conflicts with file from package filebeat-1.2.3-1.x86_64 file /etc/filebeat/filebeat.yml from install of filebeat-5.0.0_alpha3-1.x86_64 conflicts with file from package filebeat-1.2.3-1.x86_64 file /etc/init.d/filebeat from install of filebeat-5.0.0_alpha3-1.x86_64 conflicts with file from package filebeat-1.2.3-1.x86_64 file /lib/systemd/system/filebeat.service from install of filebeat-5.0.0_alpha3-1.x86_64 conflicts with file from package filebeat-1.2.3-1.x86_64

How can I uninstall the older version or upgrade to alpha version?

Thanks


(Andrew Kroh) #2

If you installed via yum, try

sudo yum remove filebeat


#3

Thanks. That worked!


(Andrew Kroh) #4