Unable to resolve dependency for libpango-1.0-0 in 12.04. This is needed while installing forticlient-sslvpn
sudo dpkg -i forticlient-sslvpn_4.4.2312-1_amd64.deb
Selecting previously unselected package forticlient-sslvpn.
(Reading database ... 309369 files and directories currently installed.)
Unpacking forticlient-sslvpn (from forticlient-sslvpn_4.4.2312-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of forticlient-sslvpn:
forticlient-sslvpn depends on libpango-1.0-0 (>= 1.14.0); however:
Package libpango-1.0-0 is not installed.
dpkg: error processing forticlient-sslvpn (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
forticlient-sslvpn
Install libpango
sudo apt-get install libpango-1.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libpango-1.0-0 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 'libpango-1.0-0' has no installation candidate
EDIT1:
find /usr/lib -type f -name "libpango*"
/usr/lib/x86_64-linux-gnu/libpangoxft-1.0.so.0.3000.0
/usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0
/usr/lib/x86_64-linux-gnu/libpangomm-1.4.so.1.0.30
/usr/lib/x86_64-linux-gnu/pango/1.6.0/module-files.d/libpango1.0-0.modules
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0
/usr/lib/x86_64-linux-gnu/libpangox-1.0.so.0.3000.0
/usr/lib/i386-linux-gnu/libpangoxft-1.0.so.0.3000.0
/usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3000.0
/usr/lib/i386-linux-gnu/pango/1.6.0/module-files.d/libpango1.0-0.modules
/usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0
/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.3000.0
/usr/lib/i386-linux-gnu/libpangox-1.0.so.0.3000.0
The deb file you downloaded is from https://hadler.me/linux/forticlient-sslvpn-deb-packages/. The package maintainer there tried to build .deb files for easier installation of Forticlient–SSLVPN which comes with a .tar.gz package.
But I think, the package maintainer wrongly included
libpango-1.0-0
in the dependency list in packages for releases older than 15.04.libpango-1.0-0
pullslibpango1.0-0
package in recent releases, but in 12.04 there is nolibpango-1.0-0
. You need to installlibpango1.0-0
for that.The easiest solution I think (I haven't tested this) to decompress and re-build the deb again. First remove the package using
Then proceed with these steps:
Install
dpkg-dev
packageMake a directory to extract
Extract the deb file to it
Go to the
forticlient-sslvpn/DEBIAN
folder and opencontrol
file. Change thelibpango-1.0-0
in the lineDepends:
tolibpango1.0-0
. Save the file.Return back out of the
forticlient-sslvpn
directory.Use this command to build the package again.
This should create a deb file named
forticlient-sslvpn.deb
. Install it withThen install any missing dependencies using
Hope that helps.
The name of the package is incorrect. It should be:
Just run:
After: