If you try to install Pulse Secure and the package is asking for the missing dependency libwebkit2gtk-4.0, you need to grab these packages from Ubuntu 22.04 as the newer version only have a newer libwebkit2gtk.
- Add the Ubuntu 22.04 repos - create a file
/etc/apt/sources.list.d/jammy.listwith this content:
deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
- Install the packages:
sudo apt update
sudo apt install libicu70 libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37- Remove the Ubuntu 22.04 repos to avoid conflicts - delete the file
/etc/apt/sources.list.d/jammy.list