upgrade fails from proxysql 2.3.2-1.1 to 2.3.2-1.2 on CentOS

Description

While performing upgrade/downgrade testing for proxysql packages 2.3.2-1.2 , it fails on CentOS machines.

 

[vagrant@node1 ~]$ sudo rpm -i proxysql2-2.3.2-1.2.el7.x86_64.rpm file /usr/bin/proxysql from install of proxysql2-2.3.2-1.2.el7.x86_64 conflicts with file from package proxysql2-2.3.2-1.1.el7.x86_64 file /usr/bin/proxysql-admin from install of proxysql2-2.3.2-1.2.el7.x86_64 conflicts with file from package proxysql2-2.3.2-1.1.el7.x86_64 file /usr/bin/proxysql-admin-common from install of proxysql2-2.3.2-1.2.el7.x86_64 conflicts with file from package proxysql2-2.3.2-1.1.el7.x86_64 file /usr/bin/proxysql-login-file from install of proxysql2-2.3.2-1.2.el7.x86_64 conflicts with file from package proxysql2-2.3.2-1.1.el7.x86_64 file /usr/bin/proxysql-status from install of proxysql2-2.3.2-1.2.el7.x86_64 conflicts with file from package proxysql2-2.3.2-1.1.el7.x86_64

Environment

None

Smart Checklist

Activity

mohit.joshi June 6, 2022 at 5:57 PM

This is not a bug. Reason

We must use sudo yum install <rpm package name> . This should by default upgrade the existing package However, rpm -i <package name> does not upgrade by default. We must pass rpm -i --upgrade <package name> for upgrades.
Not a Bug

Details

Assignee

Reporter

Components

Priority

Smart Checklist

Created June 6, 2022 at 6:05 AM
Updated June 6, 2022 at 5:57 PM
Resolved June 6, 2022 at 7:11 AM

Flag notifications