Não é possível excluir dovecot-managedieved

1

Quando quero instalar / excluir ou qualquer pacote, recebo um erro do dovecot-managedieved. Então, tentei excluí-lo com esta linha:

$ sudo apt-get purge dovecot-managesieved
reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  dovecot-managesieved dovecot-sieve
0 upgraded, 0 newly installed, 2 to remove and 54 not upgraded.
2 not fully installed or removed.
After this operation, 1,455 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 150840 files and directories currently installed.)
Removing dovecot-managesieved ...
[....] Starting IMAP/POP3 mail server: dovecotError: bind(/var/spool/postfix/private/dovecot-lmtp) failed: No such file or directory
Error: bind(/var/spool/postfix/private/auth) failed: No such file or directory
Fatal: Failed to start listeners
 failed!
invoke-rc.d: initscript dovecot, action "start" failed.
dpkg: error processing dovecot-managesieved (--remove):
 subprocess installed post-removal script returned error exit status 1
Removing dovecot-sieve ...
[....] Starting IMAP/POP3 mail server: dovecotError: bind(/var/spool/postfix/private/dovecot-lmtp) failed: No such file or directory
Error: bind(/var/spool/postfix/private/auth) failed: No such file or directory
Fatal: Failed to start listeners
 failed!
invoke-rc.d: initscript dovecot, action "start" failed.
dpkg: error processing dovecot-sieve (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 dovecot-managesieved
 dovecot-sieve
E: Sub-process /usr/bin/dpkg returned an error code (1)

Isso não funciona e não sei como excluí-lo.

    
por da1lbi3 26.05.2016 / 20:27

1 resposta

1

Isso parece estar relacionado ao bug # 665487 . Para remover dovecot-managesieved , tente renomear /etc/init.d/dovecot temporariamente:

sudo mv /etc/init.d/dovecot{,.disabled}
sudo apt-get purge dovecot-managesieved
sudo mv /etc/init.d/dovecot{.disabled,}

Isso deve evitar a tentativa de reiniciar dovecot durante a remoção do pacote.

    
por 26.05.2016 / 21:10