비둘기장 관리를 제거할 수 없습니다

비둘기장 관리를 제거할 수 없습니다

패키지나 패키지를 설치/제거하려고 할 때 dovecot-manageieved에서 오류가 발생합니다. 그래서 나는 다음 줄로 그것을 제거하려고합니다 :

$ 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)

이 방법은 작동하지 않으며 제거하는 방법을 모르겠습니다.

답변1

이것과 관련이 있는 것 같습니다.버그 #665487. 을( 를) 제거하려면 일시적으로 이름을 바꿔 dovecot-managesieved보세요 /etc/init.d/dovecot.

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

dovecot이렇게 하면 패키지 제거 중에 재부팅 시도를 방지할 수 있습니다.

관련 정보