Linux Lite Forums

Full Version: Firewall doesn't open
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
based on gufw firewall gui, my linux lite's 4 doesn't open it... I've been trying for a little longer solve this issue by myself but nothing happen. bellow you can see the debug app trogh therminal code any idea how can I solve it?




sudo gufw
[sudo] senha para lucas:
Traceback (most recent call last):
  File "/usr/share/gufw/gufw/gufw.py", line 21, in <module>
    from gufw.view.gufw  import Gufw
  File "/usr/share/gufw/gufw/gufw/view/gufw.py", line 18, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'
Looks like the python-gi module is missing, you could try manually installing it.

Code:
sudo apt-get install python-gi
here says it's already the new version

sudo apt-get install python-gi
[sudo] senha para lucas:
A ler as listas de pacotes... Pronto
A construir árvore de dependências     
A ler a informação de estado... Pronto
python-gi is already the newest version (3.26.1-2).
A post on Linux Mint forums :

https://forums.linuxmint.com/viewtopic.php?t=275451

suggests the following:

Code:
sudo apt-get install --reinstall gufw python3-gi
No issue here with the latest updates.
In the synaptic package manager: select installed packages: look for the package for the firewall : their is an option when you right click mouse - Re-install package..apply... Restart ...please.
You can open the editable xml page for your firewall with the following command: sudo ufw status verbose

You can change settings with the CLI. Make sure the defaults are deny (incoming) allow (outgoing) first, then you can allow or disallow ports.

See the link below for what it looks like:
https://www.dbts-analytics.com/webserv3.html

TC