problema ao instalar o postfix e dovecot

0

Estou tendo problemas para reinstalar o postfix e o dovecot. Há pouco tempo instalei o postfix com o dovecot com sucesso. Então eu tive que fazer uma série de mudanças, devido à inclusão de certificados e certamente eu teria feito algo errado para que nada funcionasse mais. Então eu removi tudo (postfix e dovecot) para tentar reinstalá-los:

apt-get install postfix

mas recebi o seguinte erro:

Errors were encountered while processing:
 dovecot-imapd
 dovecot-pop3d
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu tentei:

apt-get install dovecot-imapd dovecot-pop3d

e eu recebi:

Creating config file /etc/dovecot/conf.d/20-imap.conf with new version
cp: cannot create regular file ‘/etc/dovecot/conf.d/20-imap.conf’: No such file or directory
dpkg: error processing package dovecot-imapd (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up dovecot-pop3d (1:2.2.9-1ubuntu2.1) ...

Creating config file /etc/dovecot/conf.d/20-pop3.conf with new version
cp: cannot create regular file ‘/etc/dovecot/conf.d/20-pop3.conf’: No such file or directory
dpkg: error processing package dovecot-pop3d (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for dovecot-core (1:2.2.9-1ubuntu2.1) ...
dovecot stop/pre-start, process 23650
Errors were encountered while processing:
 dovecot-imapd
 dovecot-pop3d
E: Sub-process /usr/bin/dpkg returned an error code (1)

Obrigado

    
por Michele Pappalardo 05.09.2017 / 11:56

0 respostas