升级到 16.04 后,防火墙配置器不再显示。
防火墙本身(UFW)似乎正在运行:
sudo ufw status
回报active
和我的规则。
从命令行运行 GUI 我得到:
(gufw.py:9277): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2:19: Theming engine 'adwaita' not found
(gufw.py:9277): Gtk-WARNING **: Theme parsing error: gtk-widgets-3_10.css:12:16: Theming engine 'adwaita' not found
** (gufw.py:9277): WARNING **: Failed to load shared library 'libwebkitgtk-3.0.so.0' referenced by the typelib: libgbm.so.1: cannot open shared object file: No such file or directory
/usr/share/gufw/gufw/view/gufw.py:117: Warning: cannot retrieve class for invalid (unclassed) type 'void'
self.web_content = WebKit.WebView()
Traceback (most recent call last):
File "/usr/share/gufw/gufw/gufw.py", line 29, in <module>
gufw = Gufw(controler.get_frontend())
File "/usr/share/gufw/gufw/view/gufw.py", line 79, in __init__
self._set_objects_name()
File "/usr/share/gufw/gufw/view/gufw.py", line 117, in _set_objects_name
self.web_content = WebKit.WebView()
TypeError: could not get a reference to type class
更新:该问题仍然存在,如果有人在 16.04 上没有遇到此问题,请给我留言。