㈠ 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