我最近一直在尝试安装发送邮件(我以前一直在使用带有 mailutils 的 postfix),第一次尝试安装它花了一整晚的时间,然后我早上取消了它并说:
dpkg: error processing package sendmail-bin (--configure):
subprocess installed post-installation script was interrupted
dpkg: dependency problems prevent configuration of sensible-mda:
sensible-mda depends on sendmail-bin | mail-transport-agent; however:
Package sendmail-bin is not configured yet.
Package mail-transport-agent is not installed.
Package sendmail-bin which provides mail-transport-agent is not configured yet.
Package postfix which provides mail-transport-agent is not installed.
dpkg: error processing package sensible-mda (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sendmail:
sendmail depends on sendmail-bin; however:
Package sendmail-bin is not configured yet.
sendmail depends on sensible-mda; however:
Package sensible-mda is not configured yet.
dpkg: error processing package sendmail (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
sendmail-bin
sensible-mda
sendmail
使用dpkg --configure -a
并不能解决问题。它只会带来相同的错误。