The debian package can have several states:
I am trying to remove/purge a "half-configure" package this fails because the apt-get package module does not see that this package has been installed but not yet fully setup. It only detects the "installed" state.
I have a patch that add this state to "installed" package. Then I can remove the package the side effect is that cfengine does not try to install the package on every cfengine run, but the package will fail every time.
Or we must have a separate file for debian package that are not properly installed.