I have 1 central and 3 pollers, all with CentOS 7.9 and Centreon 22.04.7
I’m preparing the migration from CentOS 7.9 to AlmaLinux 8.7, same centreon version for now..
For that, I will begin with poller upgrades.
I have installed the first new alma poller ( OS+centreon 22.04 ). The poller is not registered at the moment. I always have a snapshot just in case.
I have installed all centreon-plugins, except centreon-plugin-Applications-Databases-Mongodb
If I want install this plugin, it will downgrade the dependancy perl-Exporter-Tiny, use by all others plugins.
The version installed with centreon is:
When I test to install mongdb plugin, and downgrade the dependancy, I have several errors when I try to do a
dnf update --nobest
dnf update --best --allowerasing
dnf update --nobest --allowerasing
The only thing that works is to exclude the package
dnf update --exclude=perl-Exporter-Tiny*
But I’m worried, why centreon installs a more recent version, then want to downgrade it for only 1 plugin ?
Do I risk problems with the functionning of tre platorm with the downgrade version of this package ?
I don’t have this problem on CentOS 7, and I prefer to not have to exclude this package each time I want to do an update.
The package installed is from centreon repo
But the mongoDB plugin want to downgrade with the package from powertools repo.
So the solution would be to wait for a new version of the mongoDB plugin which would use the centreon repos package ??
Moved to Data Collection
We just had the same issue but with Red Hat 8.6 but the package is clashing with the RHEL-8 version of the Code Ready Builder:
I seen this dependencies problem a couple a months ago, and I don't understand this problem, because this plugin, and is RPM packaging don't use it.
Since 2 weeks packaging of centreon-plugins is visible : https://github.com/centreon/centreon-plugins/blob/develop/packaging/centreon-plugin-Applications-Databases-Mongodb/rpm.json
There is no dependencies with Perl Exporter Tiny package..
Maybe a dependencies of a dependencies, but i can't see it..
Is possible that is a problem on EPEL repo ?
I managed to fix it this way on our RHEL 8 machines:
So far it seems to have stopped happening when I check for new updates.