Skip to content

Instantly share code, notes, and snippets.

@vredchenko
Last active November 20, 2024 10:59
Show Gist options
  • Save vredchenko/e851d7d5700a1e4196935a641ae01e50 to your computer and use it in GitHub Desktop.
Save vredchenko/e851d7d5700a1e4196935a641ae01e50 to your computer and use it in GitHub Desktop.
Workaround for installing FortiClient VPN on Ubuntu 24.04

Workaround for installing FortiClient7.0 VPN on Ubuntu 24.04

On Ubuntu 24.04, installing FortiClient VPN v7.0 from a downloaded deb package errors due to unsatisfied dependencies:

sudo dpkg -i ./forticlient_vpn_7.0.9.0322_amd64.deb
Selecting previously unselected package forticlient.
(Reading database ... 203312 files and directories currently installed.)
Preparing to unpack .../forticlient_vpn_7.0.9.0322_amd64.deb ...
Unpacking forticlient (7.0.9.0322) ...
dpkg: dependency problems prevent configuration of forticlient:
 forticlient depends on libgconf-2-4 (>> 0); however:
  Package libgconf-2-4 is not installed.

dpkg: error processing package forticlient (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Errors were encountered while processing:
 forticlient

To clean up run: sudo apt --fix-broken install

This worked for me:

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
sudo dpkg -i ./libgconf-2-4_3.2.6-8_amd64.deb ./gconf2-common_3.2.6-8_all.deb
sudo apt install libnss3-tools
sudo dpkg -i ./forticlient_vpn_7.0.9.0322_amd64.deb

Workaround for installing FortiClient7.4 VPN on Ubuntu 24.04

NOTE: Don't install v7.4 as it has a zero-day exploit, recommended version is 7.0

On Ubuntu 24.04, installing FortiClient VPN v7.4 from a downloaded deb package errors due to unsatisfied dependencies:

sudo dpkg --install libindicator7_0.5.0-4_amd64.deb
dpkg: warning: downgrading libindicator7 from 16.10.0+18.04.20180321.1-0ubuntu8 to 0.5.0-4
(Reading database ... 202918 files and directories currently installed.)
Preparing to unpack libindicator7_0.5.0-4_amd64.deb ...
Unpacking libindicator7:amd64 (0.5.0-4) over (16.10.0+18.04.20180321.1-0ubuntu8) ...
dpkg: dependency problems prevent configuration of libindicator7:amd64:
 libindicator7:amd64 depends on libgdk-pixbuf2.0-0 (>= 2.22.0); however:
  Package libgdk-pixbuf2.0-0 is not installed.

dpkg: error processing package libindicator7:amd64 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Errors were encountered while processing:
 libindicator7:amd64

To clean up run: sudo apt --fix-broken install

Following the method described in this article worked for me: https://linux.how2shout.com/how-to-download-and-install-forticlient-vpn-for-ubuntu-24-04-linux/

# Download libappindicator1
wget http://mirrors.kernel.org/ubuntu/pool/universe/liba/libappindicator/libappindicator1_12.10.1+20.10.20200706.1-0ubuntu1_amd64.deb 

# Download dependency required by libappindicator1
wget http://mirrors.kernel.org/ubuntu/pool/universe/libd/libdbusmenu/libdbusmenu-gtk4_16.04.1+18.10.20180917-0ubuntu8_amd64.deb

# Install both packages
sudo apt install ./libappindicator1_12.10.1+20.10.20200706.1-0ubuntu1_amd64.deb ./libdbusmenu-gtk4_16.04.1+18.10.20180917-0ubuntu8_amd64.deb

# Having satisfied dependencies we are now able to install successfully:
sudo apt install ./forticlient_vpn_7.4.0.1636_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment