On Wed, Jan 26, 2011 at 10:50 PM, Ludovico Cavedon <cave...@debian.org> wrote: >> Setting up ntop (3:4.0.3+dfsg1-1) ... >> dpkg: error processing ntop (--configure): >> subprocess installed post-installation script returned error exit status 30 >> configured to not write apport reports >> Errors were encountered while processing: ntop > > Yeah, this is a known issue of 4.0.3+dfsg1-1, which is fixed by the new > version just uploaded to unstable.
I got this now: % sudo apt-get install ntop Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: ntop 1 upgraded, 0 newly installed, 0 to remove and 32 not upgraded. 8 not fully installed or removed. Need to get 0 B/687 kB of archives. After this operation, 0 B of additional disk space will be used. Preconfiguring packages ... Selecting previously deselected package ntop. (Reading database ... 184666 files and directories currently installed.) Preparing to replace ntop 3:4.0.3+dfsg1-1 (using .../ntop_3%3a4.0.3+dfsg1-2_amd64.deb) ... /etc/default/ntop: line 4: /var/lib/ntop/init.cfg: No such file or directory invoke-rc.d: initscript ntop, action "stop" failed. /etc/default/ntop: line 4: /var/lib/ntop/init.cfg: No such file or directory invoke-rc.d: initscript ntop, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /etc/default/ntop: line 4: /var/lib/ntop/init.cfg: No such file or directory invoke-rc.d: initscript ntop, action "stop" failed. /etc/default/ntop: line 4: /var/lib/ntop/init.cfg: No such file or directory invoke-rc.d: initscript ntop, action "stop" failed. dpkg: error processing /var/cache/apt/archives/ntop_3%3a4.0.3+dfsg1-2_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 configured to not write apport reports dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 30 Errors were encountered while processing: /var/cache/apt/archives/ntop_3%3a4.0.3+dfsg1-2_amd64.deb localepurge: Disk space freed in /usr/share/locale: 0 KiB localepurge: Disk space freed in /usr/share/man: 0 KiB localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB localepurge: Disk space freed in /usr/share/omf: 0 KiB localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB Total disk space freed by localepurge: 0 KiB E: Sub-process /usr/bin/dpkg returned an error code (1) zsh: exit 100 sudo apt-get install ntop Removing it: [kartik@olive:~/]% sudo apt-get remove ntop Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: ntop 0 upgraded, 0 newly installed, 1 to remove and 32 not upgraded. 8 not fully installed or removed. After this operation, 1,688 kB disk space will be freed. Do you want to continue [Y/n]? Y dpkg: error processing ntop (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. configured to not write apport reports Errors were encountered while processing: ntop E: Sub-process /usr/bin/dpkg returned an error code (1) zsh: exit 100 sudo apt-get remove ntop What do you suggest to fix removal? -- Kartik Mistry Debian GNU/Linux Developer IRC: kart_ | Identica: @kartikm -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org