Rpm upgrade from rc1 to ga fails

[root@localhost script]# rpm -Uvh https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-5.0.0-x86_64.rpm
Retrieving https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-5.0.0-x86_64.rpm
warning: /var/tmp/rpm-tmp.A5UOjN: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
Preparing... ########################################### [100%]
package filebeat-5.0.0_rc1-1.x86_64 (which is newer than filebeat-5.0.0-1.x86_64) is already installed

How about uninstalling the pre-release filebeat version first? (rpm -ev filebeat)

The RPM version compare algorithm treats 5.0.0_rc1 as a newer version that 5.0.0.

This topic was automatically closed after 21 days. New replies are no longer allowed.