Package: openvas-manager Version: 7.0.2-4 Severity: minor Dear Maintainer,
apt-get update apt-get dist-upgrade Configurazione di openvas-manager (7.0.2-4)... Creating openvas-scanner's certificate files Existing certificate infrastructure found, aborting. Use '-f' parameter to overwrite existing certificates. dpkg: errore nell'elaborare il pacchetto openvas-manager (--configure): installed openvas-manager package post-installation script subprocess returned error exit status 1 Si sono verificati degli errori nell'elaborazione: openvas-manager E: Sub-process /usr/bin/dpkg returned an error code (1) (Sorry if some messages are in italian, I think you should be able to understand since only apt related messages are translated) To see certificates installed: # openvas-manage-certs -V OK: Directory for keys (/var/lib/openvas/private/CA) exists. OK: Directory for certificates (/var/lib/openvas/CA) exists. OK: CA key found in /var/lib/openvas/private/CA/cakey.pem OK: CA certificate found in /var/lib/openvas/CA/cacert.pem ERROR: CA certificate failed verification, see /tmp/tmp.2QE82PaD12/openvas-manage-certs.log for details. Aborting. ERROR: Certificate /var/lib/openvas/CA/servercert.pem failed verification, see /tmp/tmp.2QE82PaD12/openvas-manage-certs.log for details. Aborting. ERROR: Your OpenVAS certificate infrastructure did NOT pass validation. See messages above for details. so I tried to find what command in post-install script could be: kpc:/var/lib/openvas/CA# openvas-manage-certs -a Existing certificate infrastructure found, aborting. Use '-f' parameter to overwrite existing certificates. and solved with openvas-manage-certs -f -a I don't know if it was a problem with my old certificates but you should consider having the "-f" option presented in post install script. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages openvas-manager depends on: ii doc-base 0.10.8 ii libassuan0 2.5.1-2 ii libc6 2.27-3 ii libglib2.0-0 2.56.0-4 ii libgnutls30 3.5.18-1 ii libgpg-error0 1.28-2 ii libgpgme11 1.10.0-2 ii libopenvas9 9.0.1-4 ii libsqlite3-0 3.23.0-1 ii lsb-base 9.20170808 ii openvas-manager-common 7.0.2-4 openvas-manager recommends no packages. openvas-manager suggests no packages. -- no debconf information