执行apt-get install 报错:Errors were encountered while processing

dpkg: warning: files list file for package 'libquadmath0:amd64' missing; assuming package has no files currently installed
(Reading database ... 79 files and directories currently installed.)
Preparing to unpack .../dovecot-imapd_1%3a2.1.7-7+deb7u1_amd64.deb ...
Unpacking dovecot-imapd (1:2.1.7-7+deb7u1) ...
Selecting previously unselected package dovecot-lmtpd.
Preparing to unpack .../dovecot-lmtpd_1%3a2.1.7-7+deb7u1_amd64.deb ...
Unpacking dovecot-lmtpd (1:2.1.7-7+deb7u1) ...
Selecting previously unselected package dovecot-pop3d.
Preparing to unpack .../dovecot-pop3d_1%3a2.1.7-7+deb7u1_amd64.deb ...
Unpacking dovecot-pop3d (1:2.1.7-7+deb7u1) ...
Setting up dovecot-imapd (1:2.1.7-7+deb7u1) ...
dpkg: error processing package dovecot-imapd (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up dovecot-lmtpd (1:2.1.7-7+deb7u1) ...
dpkg: error processing package dovecot-lmtpd (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up dovecot-pop3d (1:2.1.7-7+deb7u1) ...
dpkg: error processing package dovecot-pop3d (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 dovecot-imapd
 dovecot-lmtpd
 dovecot-pop3d
E: Sub-process /usr/bin/dpkg returned an error code (1)



解决方式:

清空/var/lib/dpkg/info目录下面的内容

你可能感兴趣的:(linux,linux,debian)