sudo apt-get remove thttpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-utils libapr0 thttpd
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
thttpd
0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
Need to get 0B of archives.
After unpacking 221kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 63270 files and directories currently installed.)
Removing thttpd ...
Stopping web server: kill: 60: No such process
dpkg: error processing thttpd (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
thttpd
E: Sub-process /usr/bin/dpkg returned an error code (1)