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?
dpkg -r sendmail
ordpkg -P sendmail
will do it. The difference between-r
and-P
is that the last one will remove the whole programm including configuration.dpkg -l
you can get a list of installed packages, with the packagname afterwards you can limit the output, in your case it would bedpkg -l "*sendmail*"
. Whats the output?apt-get install
process right after the package-installation. I dont know if that's the cause but you can tryapt-get install -f
which should finish the installation of the sendmail documentation. But this is also just a little bit guessing. My Ubuntu installations tells me that sendmail-doc is only a recommended package so without trying i can't tell if the state is maybe right.