gustavo-iniguez-goya / opensnitch

OpenSnitch is a GNU/Linux application firewall
GNU General Public License v3.0
397 stars 20 forks source link

RE #75: Install opensnitch in a non-interactive way #78

Closed yunielrc closed 4 years ago

yunielrc commented 4 years ago

Hi gustavo, sorry for the delay,

about issue #75 with https://github.com/gustavo-iniguez-goya/opensnitch/files/5444984/python3-opensnitch-ui_1.0.1-2_all.txt it keeps showing the dialog interrupting the unattended installation process

$~ inxi -F

$~
System:    Kernel: 5.4.0-1018-aws x86_64 bits: 64 Console: tty 0 Distro: Ubuntu 20.04 LTS (Focal Fossa) 
Machine:   Type: Xen System: Xen product: HVM domU v: 4.2.amazon serial: <superuser/root required> 
           Mobo: N/A model: N/A serial: N/A BIOS: Xen v: 4.2.amazon date: 08/24/2006 
CPU:       Topology: Single Core model: Intel Xeon E5-2686 v4 bits: 64 type: MCP L2 cache: 45.0 MiB 
           Speed: 2300 MHz min/max: N/A Core speed (MHz): 1: 2300 
Info:      Processes: 92 Uptime: 13m Memory: 978.6 MiB used: 221.0 MiB (22.6%) Init: systemd runlevel: 5 Shell: bash 
           inxi: 3.0.38 
gustavo-iniguez-goya commented 4 years ago

ok, please post how do you launch the installation in order to reproduce the error.

yunielrc commented 4 years ago

Hi,

gustavo-iniguez-goya commented 4 years ago

I've just tested it, and yes, with the python3*deb package downloaded from git.io keeps showing the dialog.

But I can't reproduce it with the attached package:

ubuntu@ubuntu:/tmp$ sudo DEBIAN_FRONTEND=noninteractive apt install -y ./python3-opensnitch-ui_1.0.1-2_all.deb

(...)

Preparing to unpack .../python3-opensnitch-ui_1.0.1-2_all.deb ...
Unpacking python3-opensnitch-ui (1.0.1-1) ...
Setting up python3-opensnitch-ui (1.0.1-1) ...
gtk-update-icon-cache: Cache file created successfully.
Installing grpcio-tools...

Installing slugify...
Done.

Can you please double check that the dialog does not appear installing it manually? As in the log I've posted here.

yunielrc commented 4 years ago

Hi gustavo, the package python3-opensnitch-ui_1.0.1-2_all.deb it's ok, doesn't show the dialog

when you update to 1.0.1-2 my script should work without interruptions

Thanks

gustavo-iniguez-goya commented 4 years ago

great! I'll relese a new version in the coming days/weeks