㈠ ubuntu dpkg出现语法错误:statoverride 文件有无效组“gnokii“
问题:我实在虚拟机 debian 安装wicd,又卸载了 没干净出现下面错误
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
unknown group 'ssl-cert' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
解决方案:dpkg-statoverride铅笑 --list,然后再--remove,再次apt-get install wicd,就好了瞎蔽
1.root@kali:~# dpkg-s
dpkg-scanpackages dpkg-shlibdeps dpkg-split
dpkg-scansources dpkg-source槐神含 dpkg-statoverride
root@kali:~# dpkg-statoverride --list
root crontab 2755 /usr/bin/crontab
root root 1733 /var/lib/php/sessions
root ssl-cert 710 /etc/ssl/private
root messagebus 4754 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
2.root@kali:~# dpkg-statoverride --remove /etc/ssl/private/
dpkg-statoverride: warning: stripping trailing /
3.安装wicd,
4.root@kali:~# wicd- #(安装之后 自动弹出来表示安装成功)
wicd-client wicd-gtk