dpkg:无法恢复的致命错误,中止:未知系统组

dpkg:无法恢复的致命错误,中止:未知系统组

我尝试安装inkscape,使用

$sudo apt-get install inkscape

但是我收到一个错误:

dpkg: unrecoverable fatal error, aborting:
 unknown system group 'smmsp' in statoverride file; the system group got removed
before the override, which is most probably a packaging bug, to recover you
can remove the override manually with dpkg-statoverride
E: Sub-process /usr/bin/dpkg returned an error code (2)

smmsp我应该删除导致错误的组吗?system group这里是什么意思?文件中有什么statoverride,什么配置?

答案1

尝试这个:

打开终端并运行:

sudo rm /var/lib/dpkg/statoverride
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get -f install

相关内容