
升級到 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 上沒有遇到這個問題,請給我評論。