Hi,
after updating the sources in apt on Debian 11, I cannot upgrade to centreon 24.04
apt upgrade centreon fails with:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
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:
centreon : Depends: centreon-mariadb (= 24.04.0-1~bullseye) but it is not going to be installed or
centreon-mysql (= 24.04.0-1~bullseye) but it is not going to be installed
centreon-central : Depends: centreon-poller (= 24.04.0-1~bullseye) but it is not going to be installed
Depends: centreon-web (= 24.04.0-1~bullseye) but 23.10.11-bullseye is to be installed
Depends: centreon-broker-cbd (>= 24.04~) but 23.10.6-1 is to be installed
Depends: centreon-license-manager (>= 24.04~) but 23.10.0-1 is to be installed
Depends: centreon-pp-manager (>= 24.04~) but 23.10.2-1 is to be installed
Depends: centreon-auto-discovery-server (>= 24.04~) but 23.10.1-1 is to be installed
Depends: centreon-it-edition-extensions (>= 24.04~) but 23.10.2-1 is to be installed
E: Broken packages
If I try with apt-get full-upgrade I get the following:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
apache2 apache2-bin apache2-data apache2-utils brotli centreon-auto-discovery-server centreon-broker centreon-broker-cbd centreon-broker-cbmod centreon-broker-core centreon-clib centreon-common
centreon-connector centreon-connector-perl centreon-connector-ssh centreon-engine centreon-engine-daemon centreon-gorgone centreon-gorgone-centreon-config centreon-license-manager
centreon-license-manager-common centreon-perl-libs centreon-poller centreon-pp-manager centreon-trap centreon-web comerr-dev debsuryorg-archive-keyring fonts-font-awesome galera-4 gettext icu-devtools
javascript-common krb5-multidev libabsl20200923 libaio1 libapache2-mod-php8.1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libatomic1 libauthen-pam-perl libauthen-simple-net-perl libauthen-simple-pam-perl
libauthen-simple-perl libavif9 libbsd-dev libc-dev-bin libc-devtools libc6-dev libclass-accessor-perl libconfig-inifiles-perl libcrypt-des-perl libcrypt-dev libcrypt-passwdmd5-perl libdbd-sqlite3-perl
libde265-0 libdigest-md5-file-perl libev-perl libffi-checklib-perl libffi-platypus-perl libfuture-asyncawait-perl libfuture-perl libgav1-0 libgd-perl libgd3 libgmp-dev libgmpxx4ldbl libgnutls-dane0
libgnutls28-dev libgnutlsxx28 libgpgme11 libgssrpc4 libhash-merge-perl libheif1 libhttp-daemon-ssl-perl libicu-dev libidn2-dev libio-socket-socks-perl libjs-bootstrap4 libjs-highlight.js libjs-jquery
libjs-popper.js libjs-sizzle libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libkrb5-dev liblzma-dev libmd-dev libmojo-server-fastcgi-perl libmojolicious-perl libnetaddr-ip-perl libnorm-dev libnsl-dev
libnspr4-dev libnss3-dev libonig5 libp11-kit-dev libparams-validate-perl libpgm-dev libschedule-cron-perl libsodium-dev libtasn1-6-dev libtasn1-doc libterm-readkey-perl libtirpc-dev libunbound8 libunwind-dev
libxml2-dev libxs-parse-sublike-perl libxslt1.1 libyaml-libyaml-perl libzip4 libzmq-ffi-perl libzmq3-dev linux-libc-dev lua5.3 lua5.3-curl manpages-dev mariadb-client mariadb-client-10.5
mariadb-client-core-10.5 mariadb-server mariadb-server-10.5 mariadb-server-core-10.5 nettle-dev node-jquery php-common php-pear php-xml php8.1 php8.1-cli php8.1-common php8.1-curl php8.1-fpm php8.1-gd
php8.1-gnupg php8.1-intl php8.1-ldap php8.1-mbstring php8.1-mysql php8.1-opcache php8.1-readline php8.1-snmp php8.1-sourceguardian-loader php8.1-sqlite3 php8.1-xml php8.1-zip php8.2-common php8.2-xml
php8.3-common php8.3-xml rrdtool snmp socat ssl-cert
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
centreon centreon-central centreon-database centreon-it-edition-extensions centreon-poller-centreon-engine centreon-web-apache centreon-web-common centreon-widget-engine-status centreon-widget-global-health
centreon-widget-graph-monitoring centreon-widget-grid-map centreon-widget-host-monitoring centreon-widget-hostgroup-monitoring centreon-widget-httploader centreon-widget-live-top10-cpu-usage
centreon-widget-live-top10-memory-usage centreon-widget-service-monitoring centreon-widget-servicegroup-monitoring centreon-widget-single-metric centreon-widget-tactical-overview
The following NEW packages will be installed:
brotli centreon-gorgone-centreon-config centreon-poller lua5.3-curl mariadb-client
The following packages will be upgraded:
centreon-auto-discovery-server centreon-broker centreon-broker-cbd centreon-broker-cbmod centreon-broker-core centreon-clib centreon-common centreon-connector centreon-connector-perl centreon-connector-ssh
centreon-engine centreon-engine-daemon centreon-gorgone centreon-license-manager centreon-license-manager-common centreon-perl-libs centreon-plugins-sudoers centreon-pp-manager centreon-trap centreon-web
20 upgraded, 5 newly installed, 20 to remove and 0 not upgraded.
Need to get 61.1 MB of archives.
After this operation, 24.5 MB disk space will be freed.
So it wants to remove apache2, mariadb, php, … which will be problematic to run centreon.
It seems the dependencies are not fully checked in the packages, and not all packages are available.
Gr,
Philip