-
-
Save Mariyo/4b270c1938fa0f2296acc1bf32ed2c20 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
# Downloading packages | |
wget http://ftp.it.debian.org/debian/pool/main/g/gconf/gconf2_3.2.6-8_amd64.deb | |
wget http://ftp.it.debian.org/debian/pool/main/g/gconf/libgconf-2-4_3.2.6-8_amd64.deb | |
wget http://ftp.it.debian.org/debian/pool/main/g/gconf/gconf2-common_3.2.6-8_all.deb | |
wget http://ftp.it.debian.org/debian/pool/main/g/gconf/gconf-service_3.2.6-8_amd64.deb | |
wget http://ftp.it.debian.org/debian/pool/main/o/openldap/libldap-2.5-0_2.5.13%2bdfsg-5_amd64.deb | |
wget https://security.ubuntu.com/ubuntu/pool/universe/liba/libappindicator/libappindicator1_12.10.1+20.10.20200706.1-0ubuntu1_amd64.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/libd/libdbusmenu/libdbusmenu-gtk4_16.04.1+18.10.20180917-0ubuntu8_amd64.deb | |
# Configuring the libgconf-2-4 package | |
sudo dpkg --configure -a | |
# Installing the libldap-2.5-0 package | |
#sudo apt install libldap-2.5-0 | |
# missing libnss3-tools | |
sudo apt install libnss3-tools | |
# Installing the gconf packages | |
sudo dpkg -i libldap-2.5-0_2.5.13+dfsg-5_amd64.deb | |
sudo dpkg -i libdbusmenu-gtk4_16.04.1+18.10.20180917-0ubuntu8_amd64.deb | |
sudo dpkg -i libgconf-2-4_3.2.6-8_amd64.deb | |
sudo dpkg -i gconf2-common_3.2.6-8_all.deb | |
sudo dpkg -i gconf-service_3.2.6-8_amd64.deb | |
sudo dpkg -i gconf2_3.2.6-8_amd64.deb | |
sudo dpkg -i libappindicator1_12.10.1+20.10.20200706.1-0ubuntu1_amd64.deb | |
# Resolving any potential dependency issues | |
sudo apt -f install |
I confirm this fixes the dependency problem with FortiVPN client in Ubuntu 24.04 LTS.
Alternate (and probably cleaner) solution could be to add Debian repository to your Ubuntu's APT.
Have you tried it?
I confirm this fixes the dependency problem with FortiVPN client in Ubuntu 24.04 LTS.
Alternate (and probably cleaner) solution could be to add Debian repository to your Ubuntu's APT.Have you tried it?
No, sorry, maybe next time when I need to install Forti client on a new Ubuntu.
But it should be possible to do it via APT pinning.
Then it should also handle package upgrades smoothly.
But in any case, your Gist worked for me today just perfectly.
This worked for me also. Installed it successfully. Forti. Come on man...
confirm it works
Which version of FortiClient did you use the fix with? I am using FortiClient 7.4.0.1636, but when I enter the credentials, it stays in status: connecting for a while and then never connects.
Hi @Mac85, my current Forticlient version is 7.0.13.0376
Could you please tell me where i can download this version?
Unfortunately, I use company provided version which I can't share with you
I understand, it is e custom version. Unfortunately your fix doesn’t work for me with last version of forticlient.
@Mac85 if you run Forticlient app, it means it worked (the purpose of this script). If you struggle with connection, its different problem and I propose you to contact admin of host you want to connect to.
@Mariyo Yes the app started correctly even without running your script. It only gives me problems when I try to connect
thanks for sharing 👍 unfortunately same here stucks on coonnecting, i use the latest VPN forticlient version from their web
version: 7.4.0.1636
I confirm this fixes the dependency problem with FortiVPN client in Ubuntu 24.04 LTS.
Alternate (and probably cleaner) solution could be to add Debian repository to your Ubuntu's APT.