Skip to content

Instantly share code, notes, and snippets.

@mikekenneth
Created April 26, 2023 09:21
Show Gist options
  • Save mikekenneth/11ef2d743cfc31e1c486ef22508f48f6 to your computer and use it in GitHub Desktop.
Save mikekenneth/11ef2d743cfc31e1c486ef22508f48f6 to your computer and use it in GitHub Desktop.
Installation of Forticlient VPN on Debian 11 Bulleyes

Original Post: https://gitlab.com/fhidalgo.dev/install-forticlient-on-debian-11-bullseye/-/blob/en/README.md

I am just adding this here for my sake of retrieving easily.

Install Forticlient on Debian 11 bullseye

In Debian 11 bullseye there is a package that has been removed called libappindicator1. This is used to display notifications. However, there are still many packages that have it as a dependency, such as the Forticlient VPN client.

To resolve that dependency, all you have to do is mock the package with equivs:

  1. Install equivs

sudo apt-get install equivs

  1. Create a control file with the package information.

nano libappindicator1

Inside the file is placed:

Section: misc
Priority: optional
Standards-Version: 3.9.2

Package: libappindicator1
Version: 2022
Description: dummy package of libappindicator1
  1. Create the package with equivs-build

sudo equivs-build libappindicator1

  1. Install libappindicator1 with:

sudo dpkg -i libappindicator1_2022_all.deb

With this, libappindicator1 would be installed. We proceed with forticlient

  1. Download the .deb file

Forticlient

  1. Install dependency

sudo apt install libgconf-2-4

  1. Forticlient is installed

sudo dpkg -i package_name

  1. In the event of an error at any time during the installation, run:

sudo apt --fix-broken install

  1. If the simulation of libappindicator1 does not work well with Forticlient, the following packages are installed with dpkg:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment