Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install in Ubuntu 24.04 LTS, GNOME 46 #351

Open
sfa77 opened this issue Apr 26, 2024 · 13 comments
Open

Cannot install in Ubuntu 24.04 LTS, GNOME 46 #351

sfa77 opened this issue Apr 26, 2024 · 13 comments

Comments

@sfa77
Copy link

sfa77 commented Apr 26, 2024

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
@eitzenbe
Copy link

I am affected by this too, seems the lib versions have moved up on ubuntu 24.04

@yuezk
Copy link
Owner

yuezk commented Apr 27, 2024

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

@yuezk yuezk pinned this issue Apr 27, 2024
@eitzenbe
Copy link

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 :)

@yuezk
Copy link
Owner

yuezk commented Apr 28, 2024

@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?

@eitzenbe
Copy link

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

@eitzenbe
Copy link

microsoft/vscode#187380

seems to be related?

@yuezk
Copy link
Owner

yuezk commented Apr 28, 2024

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 #321 (comment) Not sure whether it works for you.

And what's your desktop environment, KDE?

Anyway, I will add the file-based fallback keychain soon.

@eitzenbe
Copy link

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!

@yuezk
Copy link
Owner

yuezk commented Apr 28, 2024

It should be quick, I'm planning to release a new version with several enhancements.

@yuezk
Copy link
Owner

yuezk commented Apr 29, 2024

Add the link to the official issue: https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/2061914

@yuezk
Copy link
Owner

yuezk commented Apr 30, 2024

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.

@yuezk
Copy link
Owner

yuezk commented Apr 30, 2024

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

@eitzenbe
Copy link

works perfectly, also sso via azure works, THANX A TON!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants