apt - Remove not configured package
- by madflow
I have a Linux-Mint Debian Edition System. When I install sendmail I get an infinite loop.
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
When I try dpkg --configure -a it is the same.
Now I want to simple remove sendmail from the installation queue - but I can't simply do that, because apt-get always wants to configure sendmail first.
Is there a way to force apt-get to remove sendmail or set it to "configured" - even though the package is not properly configured?