Solved

Install Centreon plugin on Debian 11 (Bullseye)

  • 20 March 2024
  • 1 reply
  • 75 views

Badge +2

I got this error when I try to install the centreon-plugins via apt on Debian 11 : 

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libfilesys-smbclient-perl : Depends: perl (>= 5.36.0-7+deb12u1) but 5.32.1-4+deb11u3 is to be installed
Depends: perlapi-5.36.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

I use these repo : 

deb https://apt.centreon.com/repository/23.10-plugin-packs/ bullseye main
deb https://packages.centreon.com/apt-standard-23.10-stable/ bullseye main

Apparently some dependices on the plugins are related to a perl version installed from Debian 12 despite using the Debian 11 repo. 

Anyone already faced to this issue ? 

Thank you for your help. 

icon

Best answer by jrobin 26 March 2024, 12:01

View original

1 reply

Badge +2

I got the answer, it is a known issue.

You can use this workaround :
 

apt-cache policy libfilesys-smbclient-perl 
apt install libfilesys-smbclient-perl=4.0-bullseye

Reply