WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
mail-stack-delivery postfix*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 3762 kB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 129107 files and directories currently installed.)
Removing mail-stack-delivery (1:2.2.22-1ubuntu2.2) ...
Job for dovecot.service failed because the control process exited with error code. See "systemctl status dovecot.service" and "journalctl -xe" for details.
invoke-rc.d: initscript dovecot, action "restart" failed.
[0;1;31m*[0m dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled)
Active: [0;1;31mfailed[0m (Result: exit-code) since Fri 2017-03-31 12:48:26 CEST; 9ms ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Process: 28953 ExecStart=/usr/sbin/dovecot [0;1;31m(code=exited, status=89)[0m
Main PID: 23909 (code=exited, status=0/SUCCESS)
Mar 31 12:48:26 honningas systemd[1]: Starting Dovecot IMAP/POP3 email server...
Mar 31 12:48:26 honningas dovecot[28953]: Fatal: Error reading configuration...y
Mar 31 12:48:26 honningas systemd[1]: [0;1;39mdovecot.service: Control process exit...89[0m
Mar 31 12:48:26 honningas systemd[1]: [0;1;31mFailed to start Dovecot IMAP/POP3 ema...r.[0m
Mar 31 12:48:26 honningas systemd[1]: [0;1;39mdovecot.service: Unit entered failed ...e.[0m
Mar 31 12:48:26 honningas systemd[1]: [0;1;39mdovecot.service: Failed with result '...'.[0m
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package mail-stack-delivery (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
mail-stack-delivery
E: Sub-process /usr/bin/dpkg returned an error code (1)