Forticlient VPN support for Ubuntu 24.04 LTS

Hello everyone,

I’ve been trying to install Forticlient VPN on my Ubuntu 24.04 LTS machine for a while now but here’s the problem:

$ sudo dpkg -i forticlient_vpn_7.4.0.1636_amd64.deb
Selecting previously unselected package forticlient.
(Reading database ... 163463 files and directories currently installed.)
Preparing to unpack forticlient_vpn_7.4.0.1636_amd64.deb ...
Unpacking forticlient (7.4.0.1636) ...
dpkg: dependency problems prevent configuration of forticlient:
 forticlient depends on libappindicator1 (>> 0) | libayatana-appindicator1 (>> 0); however:
  Package libappindicator1 is not installed.
  Package libayatana-appindicator1 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

However, when I try to resolve dependencies:

$ sudo apt install libappindicator1

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libappindicator1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libappindicator1' has no installation candidate

And

$ sudo apt install libayatana-appindicator1

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libayatana-appindicator1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libayatana-appindicator1' has no installation candidate

Is there a workaround for this as those packages are not present in Ubuntu 24.04 repos? Will Forticlient VPN be supported soon for Ubuntu 24.04?

Thanks!

This worked for me:

https://unix.stackexchange.com/a/780838/198996

TL;DR

Download and install the missing dependent packages manually:

# 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 

# Install forticlient downloaded from https://www.fortinet.com/support/product-downloads
sudo apt install ./forticlient_vpn_7.4.0.1636_amd64.deb

Gente, tengo la solucion. Se las explico paso a paso (Sirve para ubuntu 24.04/Mint Vilma 22)

1- Bajar la aplicacion desde Fortinet (.deb)

https://www.fortinet.com/lat/support/product-downloads#vpn

2 - Una vez descargado, hay que cambiar 3 librerias. Para eso desempaquetamos y volvemos a empaquetar el .deb

-Creamos una carpeta para alojar los archivo .deb

mkdir carpertanuevaclientfortinet

  • Desempaquetamos los archivos ahi

dpkg-deb -R forticlient_vpn_7.4.0.1636_amd64.deb carpertanuevaclientfortinet

  • Entramos a la carpeta creada con los archivos, a la ubicacion DEBIAN/control

cd carpertanuevaclientfortinet/DEBIAN/control

  • Editamos el archivo “control” y cambiamos 3 librerias

nano carpertanuevaclientfortinet/DEBIAN/control

libappindicator1 (>> 0) | libayatana-appindicator1 (>> 0) por libayatana-appindicator3-1

libglib2.0-0 por libglib2.0-0t64

libgtk-3-0 por libgtk-3-0t64

La parte de depends quedaria asi

Depends: libc6 (>= 2.15),libayatana-appindicator3-1, libudev1 (>> 0), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), libglib2.0-0t64 (>= 2.35.8), libgtk-3-0t64 (>= 3.9.10), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb1 (>= 1.6), libxcomposite1 (>= 1:0.3-1), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:5.0), libxi6 (>= 2:1.2.99.4), libxrandr2 (>= 2:1.2.99.3), libxrender1, libxss1, libxtst6, libsecret-1-0 (>= 0.18.4), gzip (>= 1.6), libnss3-tools (>= 3.21), iptables

  • pueden descargar antes las librerias con apt

sudo apt-get install libayatana-appindicator3-1 libglib2.0-0t64 libgtk-3-0t64

3 - Despues de esto, volver a compilar el archivo a .deb

dpkg-deb -b carpertanuevaclientfortinet carpertanuevaclientfortinet.deb

y listo! ahora lo van a poder instalar tanto con “dpkg -i” o con “GDebi”

It is kind of crazy, but it works. I created a custom package and it installs and works on 24.04.

Not recommended though. I had a developer upgrading to 24.04 without asking, leading to this situation.

Did you manually edit the „control“ file and remove the lib in question from the file before running the final repack command?

It seems you repacked it with the same dependencies as before.

Ftnt has a fixed this in 7.2.5 Linux and release date is aug 2024

take a look at these:

https://unix.stackexchange.com/a/780839/330465

https://unix.stackexchange.com/a/780838/330465

Try this fix gist: https://gist.github.com/Mariyo/4b270c1938fa0f2296acc1bf32ed2c20

Has this been tested with IPsec VPN, IKEv1? I have a contractor that has Ubuntu 24.04LTS and cannot get them connected. I have a test device that does not connect. The VPN debug on the firewall doesn’t even show a connection on port 500 however I can telnet to 4500. Taking debug from know working device, 500 is the initiating port so without the first connection I get nowhere.

Thanks crypt0x-n,

this work for me!!!

This fixed it for me as well, thank you!

Worked for me too, thank you!

awesome, thanks alot.

Thank you. I’ve been banging my head against this all day.

Thanks! Your steps worked just great!

Gracias!!! Definitivamente ha sido un problema que hayan quitado las librerías, pero según las que indicas, si funciona :slight_smile:

Te tienen que hacer un minimonumento en algun sitio nen! Es increible que versiones LTS no estén soportadas out of the box en productos comerciales

puedes compartir el deb xd

I’m using neon 6.2: works for me too. I had also to change ownership and permission of /opt/forticlient/gui/FortiClient-linux-x64/chrome-sandbox as suggested by console output

but in order to do this don’t you need libayatana-appindicator1?

# Now, edit the dependencies in control to use libayatana-appindicator1 instead of libappindicator1

I can’t even install that in the first place.