The Centreon upgrade on Debian 11 is going well but at the end I get this error:
Paramétrage de centreon-auto-discovery-server (24.04.0-1~bullseye) ...
[2024-05-07T08:13:22+0200] [CRITICAL] Error thrown while running command "cache:clear --no-warmup". Message: "Unable to write in the "/var/cache/centreon/symfony" directory." {"exception":"[object] (Symfony\\Component\\Console\\Exception\\RuntimeException(code: 0): Unable to write in the \"/var/cache/centreon/symfony\" directory. at /usr/share/centreon/vendor/symfony/framework-bundle/Command/CacheClearCommand.php:83)","command":"cache:clear --no-warmup","message":"Unable to write in the \"/var/cache/centreon/symfony\" directory."}
Unable to write in the "/var/cache/centreon/symfony" directory.
cache:clear [--no-warmup] [--no-optional-warmers]
dpkg: erreur de traitement du paquet centreon-auto-discovery-server (--configure) :
installed centreon-auto-discovery-server package post-installation script subprocess returned error exit status 1
Paramétrage de centreon-it-edition-extensions (24.04.0-1~bullseye) ...
[2024-05-07T08:13:22+0200] [CRITICAL] Error thrown while running command "cache:clear --no-warmup". Message: "Unable to write in the "/var/cache/centreon/symfony" directory." {"exception":"[object] (Symfony\\Component\\Console\\Exception\\RuntimeException(code: 0): Unable to write in the \"/var/cache/centreon/symfony\" directory. at /usr/share/centreon/vendor/symfony/framework-bundle/Command/CacheClearCommand.php:83)","command":"cache:clear --no-warmup","message":"Unable to write in the \"/var/cache/centreon/symfony\" directory."}
Unable to write in the "/var/cache/centreon/symfony" directory.
cache:clear [--no-warmup] [--no-optional-warmers]
dpkg: erreur de traitement du paquet centreon-it-edition-extensions (--configure) :
installed centreon-it-edition-extensions package post-installation script subprocess returned error exit status 1
dpkg: des problèmes de dépendances empêchent la configuration de centreon-central :
centreon-central dépend de centreon-auto-discovery-server (>= 24.04~) ; cependant :
Le paquet centreon-auto-discovery-server n'est pas encore configuré.
centreon-central dépend de centreon-auto-discovery-server (<< 24.10~) ; cependant :
Le paquet centreon-auto-discovery-server n'est pas encore configuré.
centreon-central dépend de centreon-it-edition-extensions (>= 24.04~) ; cependant :
Le paquet centreon-it-edition-extensions n'est pas encore configuré.
centreon-central dépend de centreon-it-edition-extensions (<< 24.10~) ; cependant :
Le paquet centreon-it-edition-extensions n'est pas encore configuré.
dpkg: erreur de traitement du paquet centreon-central (--configure) :
problèmes de dépendances - laissé non configuré
dpkg: des problèmes de dépendances empêchent la configuration de centreon :
centreon dépend de centreon-central (= 24.04.0-1~bullseye) ; cependant :
Le paquet centreon-central n'est pas encore configuré.
dpkg: erreur de traitement du paquet centreon (--configure) :
problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
centreon-auto-discovery-server
centreon-it-edition-extensions
centreon-central
centreon
E: Sub-process /usr/bin/dpkg returned an error code (1)
How to correct the problem?