使用命令后apt-get upgrade
:
After this operation, 80.9 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
syntax error: unknown group 'crontab' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
删除同理心后,界面软件更新程序中的“输入密码和机密”提示在侧边栏或搜索中不可用
运行 12.10。
答案1
尝试使用statoverride-old
文件,
sudo mv /var/lib/dpkg/statoverride /var/lib/dpkg/statoverride.bad
sudo cp /var/lib/dpkg/statoverride-old /var/lib/dpkg/statoverride
sudo apt-get update
sudo apt-get upgrade