虽然我无法按要求回答您的问题,但可以为您解决难题。使用“用户帐户”删除用户“ backuppc”(我为备份手动配置的用户)后,我遇到了完全相同的问题。好吧,我取消了这条路线,但是直到几周后(即今天),才尝试删除用户。在Update Manager找到并尝试应用更新之前,我一直没有遇到任何麻烦。该过程将无法读取
dpkg: unrecoverable fatal error, aborting:
syntax error: unknown user 'backuppc' in statoverride file
W: Waited for dpkg --assert-multi-arch but it wasn't there - dpkgGo (10: No child processes)
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
经过一番搜索,我找到了解决方案。
x@y ~ $ cat /var/lib/dpkg/statoverride
root postdrop 2555 /usr/sbin/postdrop
root postdrop 2555 /usr/sbin/postqueue
root mlocate 2755 /usr/bin/mlocate
postfix postdrop 2710 /var/spool/postfix/public
backuppc www-data 4750 /usr/lib/backuppc/cgi-bin/index.cgi
root ssl-cert 710 /etc/ssl/private
root crontab 2755 /usr/bin/crontab
通过运行来修复:sudo sed -i'/ backuppc / d'/ var / lib / dpkg / statoverride
x@y ~ $ sudo sed -i '/backuppc/d' /var/lib/dpkg/statoverride; cat /var/lib/dpkg/statoverride
[sudo] password for x:
root postdrop 2555 /usr/sbin/postdrop
root postdrop 2555 /usr/sbin/postqueue
root mlocate 2755 /usr/bin/mlocate
postfix postdrop 2710 /var/spool/postfix/public
root ssl-cert 710 /etc/ssl/private
root crontab 2755 /usr/bin/crontab
抱歉,我无法回答您的问题,但这是google中的第二个结果,因此我想在此为人们提供解决方案。我的答案来自http://rickfoosusa.blogspot.com/2012/04/howto-ubuntu-unknown-user-in.html。