RPM Package name changes, and how to install them

  • 9 May 2022
  • 1 reply
  • 207 views

Userlevel 5
Badge +14

Hello
I don't know if it is an issue for here or the github, but when I try to deploy a new poller, I usually install all the plugin packages with 

yum install "centreon-plugin*"

I tried to deploy a new one today but I have an error because of a file conflict because there are 2 plugins with different name that contain the same files
centreon-plugin-Hardware-Servers-Ibm-Imm-Snmp-20220414-091353.el7.centos.noarch.rpm
centreon-plugin-Hardware-servers-ibm-imm-snmp-20220217-094259.el7.centos.noarch.rpm

but as the name is now using caps, yum think it's 2 different package and fails the install.

I also had the issue with this one :
centreon-plugin-Hardware-Devices-Masterclock-Ntpserver-Snmp-20220217-094259.el7.centos.noarch 
centreon-plugin-Hardware-Devices-Masterclock-Ntp100gps-Snmp-20220414-091353.el7.centos.noarch

installing individually the package from 2022-04-14 works, but then it still tries to install the one from 2022-02-17

I finally found that doing

yum install "centreon-plugin*" -x centreon-plugin-Hardware-servers-ibm-imm-snmp -x centreon-plugin-Hardware-Devices-Masterclock-Ntpserver-Snmp

was solving the problem

 

Can something be done to clean the repository maybe or define dependencies in the new packages so this problem does not appear? (I have no idea how a yum repository works)

 

(maybe there is something wrong with wanting to install every plugin pack, but that is something I do manage all the poller I use and kind of a set-and-forget, and I push a regular global update when there is a need to, but I don’t have to ask myself “did I install the rpm package when I need to add a new piece of monitoring in a client poller) 


1 reply

Userlevel 3
Badge +10

Thanks for reporting this issue, I will create an internal ticket to clean yum repository :)

Reply