Package: ntopng
Version: 2.0+dfsg1-1
Severity: normal

When upgrading from version 1.2.1+dfsg1-2 to 2.0+dfsg1-1, the postinst
script hung.  Note that this machine is still using sysvinit, not
systemd.  The relevant pstree output:

root@basil:~# pstree -ap 7441
aptitude,7441 -u
  ├─dpkg,19994 --status-fd 107 --configure libndpi2:amd64 libjs-bootstrap:all 
ntopng-data:all ntopng:amd64...
  │   └─frontend,20002 -w /usr/share/debconf/frontend 
/var/lib/dpkg/info/ntopng.postinst configure 1.2.1+dfsg1-2
  │       └─(ntopng.postinst,20008)
  └─{aptitude},12945

Sorry, I did not notice if ntopng was running at this point or not, but
I believe it was for two reasons.  The output from aptitude at this
point was

Setting up ntopng-data (2.0+dfsg1-1) ...
Setting up ntopng (2.0+dfsg1-1) ...
[ ok ] Starting network top daemon: ntopng.

At which point I killed frontend (20002) and aptitude continued with

dpkg: error processing package ntopng (--configure):
 subprocess installed post-installation script was killed by signal (Terminated)

and then later:

Errors were encountered while processing:
 ntopng
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish
Failed to perform requested operation on package.  Trying to recover:
Setting up ntopng (2.0+dfsg1-1) ...
[ ok ] Starting network top daemon: ntopng already running.
Press Return to continue.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ntopng depends on:
ii  init-system-helpers  1.23
ii  libc6                2.19-22
ii  libcurl3-gnutls      7.44.0-2
ii  libgcc1              1:5.2.1-17
ii  libgeoip1            1.6.6-1+b1
ii  libhiredis0.13       0.13.1-2
ii  libjson-c2           0.11-4
ii  libluajit-5.1-2      2.0.4+dfsg-1
ii  libndpi2             1.6-1
ii  libpcap0.8           1.7.4-1
ii  librrd4              1.5.4-5
ii  libsqlite3-0         3.8.11.1-1
ii  libstdc++6           5.2.1-17
ii  libzmq3              4.0.5+dfsg-3
ii  ntopng-data          2.0+dfsg1-1
ii  redis-server         2:3.0.4-6

ntopng recommends no packages.

Versions of packages ntopng suggests:
ii  geoip-database-contrib  1.17+nmu1

-- no debconf information

Reply via email to