root@devel:~# apt-get -f remove cacti
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 303 not upgraded.
1 not fully installed or removed.
After this operation, 5186kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 111357 files and directories currently installed.)
Removing cacti ...
dpkg: error processing cacti (--remove):
subprocess pre-removal script returned error exit status 10
no type given for question at /usr/share/perl5/Debconf/Question.pm line 22, <GEN1> line 2.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
please tell me how to remove the cacti broken....