在使用apt安装软件时 提示如下:
unknown system user 'geoclue' in statoverride file; the system user got removed
before the override, which is most probably a packaging bug, to recover you
can remove the override manually with dpkg-statoverride
W: No sandbox user '_apt' on the system, can not drop privileges
E: Sub-process /usr/bin/dpkg returned an error code (2)
解决办法:
打开 /var/lib/dpkg/statoverride文件 找到错误提示的用户'geoclue' 删除该行代码即可。
sudo sed -i '/geoclue/d' /var/lib/dpkg/statoverride
原文转自: