GlobalProtect-openconnect
GlobalProtect-openconnect copied to clipboard
Cannot install in Ubuntu 24.04 LTS, GNOME 46
Describe the bug Cannot install the package in Ubuntu 24.04 LTS, GNOME 46
Logs sudo apt-get install globalprotect-openconnect Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: globalprotect-openconnect : Depends: libjavascriptcoregtk-4.0-18 but it is not Depends: libwebkit2gtk-4.0-37 (>= 2.21.1) but it is not installable E: Unable to correct problems, you have held broken packages.
Environment:
- OS: Ubuntu 24.04 LTS
- Desktop Environment: GNOME
I am affected by this too, seems the lib versions have moved up on ubuntu 24.04
Hi @sfa77 @eitzenbe libjavascriptcoregtk-4.0-18 and libwebkit2gtk-4.0-37 were deleted (status is Deleted) in the Ubuntu 24.04 repository. Current workaround is to download and install these packages manually before installing globalprotect-openconnect.
wget http://launchpadlibrarian.net/704701349/libwebkit2gtk-4.0-37_2.43.3-1_amd64.deb
wget http://launchpadlibrarian.net/704701345/libjavascriptcoregtk-4.0-18_2.43.3-1_amd64.deb
sudo dpkg --install *.deb
THANX - installation succeeds and gui comes up but issues an error:
[2024-04-28T08:09:39Z WARN gpgui::app::app_initializer] Can't read the config key from the keyring: Couldn't access platform secure storage: SS error: result not returned from SS API [2024-04-28T08:09:40Z WARN gpapi::utils::window] Failed to raise window: Failed to raise window: GlobalProtect [2024-04-28T08:09:46Z INFO gpgui::config::private_data] Generating config key [2024-04-28T08:09:46Z WARN gpgui::app::app_initializer] Can't read the config key from the keyring: Couldn't access platform secure storage: SS error: result not returned from SS API
step by step :)
@eitzenbe, I encountered this problem yesterday and it is back to normal after a restart. And what' the output of ps aux | grep 'gnome-keyring\|kwalletd5' | grep -v grep?
yields /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/1000/keyring as local user, fwiw: I hadn't set up my wallet in KDE, did that, rebooted, but still same error
https://github.com/microsoft/vscode/issues/187380
seems to be related?
Yes. should be the same problem, but this client currently doesn't support the file keychain. Others encountered this issue and resolved it in this comment in https://github.com/yuezk/GlobalProtect-openconnect/issues/321#issuecomment-1938876002 Not sure whether it works for you.
And what's your desktop environment, KDE?
Anyway, I will add the file-based fallback keychain soon.
not an expert on that gnome-keyring/kwallet issue, but tried and failed, running KDE ... Any timeline for the "support on filebased" ? No pressure here, THANX for the quick support so far and the work you did!
It should be quick, I'm planning to release a new version with several enhancements.
Add the link to the official issue: https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/2061914
I'm afraid it is impractical to ask the Ubuntu team to reintroduce webkit2gtk-4.0.
Tauri 1.x, which depends on webkit2gtk-4.0. Tauri started to use webkit2gtk-4.1 in 2.0, but it has not been released yet. Since few breaking changes exist between webkit2gtk-4.1 and webkit2gtk-4.0, I plan to port the Tauri 1.x to use webkit2gtk-4.1. I have managed to make this work but with one error. And I'm currently working on it.
not an expert on that gnome-keyring/kwallet issue, but tried and failed, running KDE ... Any timeline for the "support on filebased" ? No pressure here, THANX for the quick support so far and the work you did!
Hi @eitzenbe it has been fixed in 2.2.0, you can follow this instruction to upgrade it in 24.04.
https://github.com/yuezk/GlobalProtect-openconnect?tab=readme-ov-file#ubuntu-2404
works perfectly, also sso via azure works, THANX A TON!
I think that the solution on https://github.com/yuezk/GlobalProtect-openconnect?tab=readme-ov-file#ubuntu-2404-and-later may no longer work, as there are issues installing these packages due to incompatible dependencies (e.g. libicu).
Couldn't this be resolved by upgrading the versions of the libs that GlobalProtect-openconnect uses? Is there any plan for that?
@joca-bt I plan to upgrade the application when Tauri 2.0 is released. Which is expected to be released at the end of this month. I'm going to start working on upgrading this application to use Tauri 2.0 soon.
@joca-bt What is Tauri ?
@sebma It's the GUI framework used by this client.
@yuezk So once Tauri v2.0 is out, will you release a new globalprotect-openconnect package (v2.40 ?) based on libwebkit2gtk-4.1 and libjavascriptcoregtk-4.1 in your launchpad PPA repository for Ubuntu 24.04 and later ?
@sebma Yes.
I think that the solution on yuezk/GlobalProtect-openconnect#ubuntu-2404-and-later may no longer work, as there are issues installing these packages due to incompatible dependencies (e.g. libicu).
@joca-bt I tested it and it still works.
You might have already seen this, but Tauri 2.0 has just been released...