$ sudo apt-get remove nfdump
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nfdump
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 848kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 128841 files and directories currently installed.)
Removing nfdump ...
invoke-rc.d: initscript nfdump, action "stop" failed.
dpkg: error processing nfdump (--remove):
subprocess installed pre-removal script returned error exit status 1
invoke-rc.d: initscript nfdump, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nfdump
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to remove, also.
$ sudo apt-get remove nfdump
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nfdump
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 848kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 128841 files and directories currently installed.)
Removing nfdump ...
invoke-rc.d: initscript nfdump, action "stop" failed.
dpkg: error processing nfdump (--remove):
subprocess installed pre-removal script returned error exit status 1
invoke-rc.d: initscript nfdump, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nfdump
E: Sub-process /usr/bin/dpkg returned an error code (1)