I am trying to uninstall an app (Forticlient) with this command:
sudo apt-get --purge remove forticlient
When I run it I get the following error:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11 Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
I tried killall on the Forticlient processes but the error still occurs.
Is there a way to see which process is locking the file?
Alternatively is it possible to force the uninstallation even if there is a lock?