我今天从Debian拉伸服务器卸载quagga 0.99.23来安装bird。
在卸载quagga之后,我发现我无法安装任何其他软件包。
每当我尝试安装任何新的软件包时,我都会得到以下错误:
unknown user 'quagga' in statoverride file该怎么办呢?
发布于 2017-07-21 15:41:58
我找到了那条线
quagga quaggavty 775 /etc/quagga在文件/var/lib/dpkg/statoverride中。
删除这一行之后,我就能够安装bird了。
显然,通常的方法是(后来在另一台服务器上也发生了这种情况,这次我使用了这个表单):
sudo dpkg-statoverride --remove /etc/quagga并列出所有重写:
dpkg-statoverride --list来自人dpkg-状态覆盖
--remove path Remove an override for path, the status of path is left unchanged by this command. --list [glob-pattern] List all overrides. If a glob pattern is specified restrict the output to overrides which match the glob. If there are no overrides or none match the glob dpkg-statoverride will exit with an exitcode of 1.
https://unix.stackexchange.com/questions/379969
复制相似问题