Cannot upgrade on Ubuntu 16.04

As I do every week, I maintained my Ubuntu doing a typical update / upgrade / clean

root@openvas-ubuntu-16-04-lts:~# apt update && apt upgrade && apt clean
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://ppa.launchpad.net/mrazavi/openvas/ubuntu xenial InRelease
Hit:5 http://ppa.launchpad.net/scaleway/stable/ubuntu xenial InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up openvas9-scanner (5.1.3-1) …
Job for openvas-scanner.service failed because a timeout was exceeded. See “systemctl status openvas-scanner.service” and “journalctl -xe” for details.
invoke-rc.d: initscript openvas-scanner, action “start” failed.
● openvas-scanner.service - LSB: remote network security auditor - scanner
Loaded: loaded (/etc/init.d/openvas-scanner; bad; vendor preset: enabled)
Active: failed (Result: timeout) since Fri 2018-10-19 08:52:20 UTC; 18ms ago
Docs: man:systemd-sysv-generator(8)
Process: 16757 ExecStart=/etc/init.d/openvas-scanner start (code=killed, signal=TERM)
CGroup: /system.slice/openvas-scanner.service
├─ 3660 /usr/sbin/openvassd
├─ 8340 /usr/sbin/openvassd
├─15908 /usr/sbin/openvassd
└─16762 /usr/sbin/openvassd

Oct 19 08:47:20 openvas-ubuntu-16-04-lts systemd[1]: Starting LSB: remote network security auditor - scanner…
Oct 19 08:47:20 openvas-ubuntu-16-04-lts openvas-scanner[16757]: (openvassd:16762): lib kb_redis-CRITICAL **: fetch_max_db_index: cannot retrieve max DB number: LOADING Redis is load…t in memory
Oct 19 08:52:20 openvas-ubuntu-16-04-lts systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
Oct 19 08:52:20 openvas-ubuntu-16-04-lts systemd[1]: Failed to start LSB: remote network security auditor - scanner.
Oct 19 08:52:20 openvas-ubuntu-16-04-lts systemd[1]: openvas-scanner.service: Unit entered failed state.
Oct 19 08:52:20 openvas-ubuntu-16-04-lts systemd[1]: openvas-scanner.service: Failed with result ‘timeout’.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package openvas9-scanner (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openvas9-scanner
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried several options :

  • Waiting the system is as idle as possible --> did not help
  • Stopping the service manually prior to starting the command --> did not help

I just invoked a reboot … we will see if it helps but it always hangs doing

1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up openvas9-scanner (5.1.3-1) …

Progress: [ 0%] […]

\T,

I am sorry but this seems to be an issue with your specific packages. Please contact the maintainers of http://ppa.launchpad.net/mrazavi/openvas/ubuntu

1 Like

The following post should be valid here as well:

1 Like