[GH-ISSUE #4235] [bug]: Unable to install Client on Ubuntu 24.04 #1528

Closed
opened 2026-03-16 20:43:12 +03:00 by kerem · 6 comments
Owner

Originally created by @pisandelli on GitHub (Aug 2, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4235

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When trying to install, a dependency error is thrown.

The following packages have unmet dependencies:
 hoppscotch : Depends: libwebkit2gtk-4.0-37 but it is not installable
E: Unable to correct problems, you have held broken packages.

The package libwebkit2gtk-4.1-0 is already installed!

Steps to reproduce

  1. Try to install the package using sudo dpkg -i Hoppscotch_linux_x64.deb
  2. Check the error
  3. Try to install the package using sudo apt install ./Hoppscotch_linux_x64.deb
  4. Same Error
  5. Try to bypass package installation sudo dpkg -i --ignore-depends=libwebkit2gtk-4.0-37 ./Hoppscotch_linux_x64.deb
    5.1 The package is installed but does not start.

Environment

Production

Version

Local

Originally created by @pisandelli on GitHub (Aug 2, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4235 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When trying to install, a dependency error is thrown. ```bash The following packages have unmet dependencies: hoppscotch : Depends: libwebkit2gtk-4.0-37 but it is not installable E: Unable to correct problems, you have held broken packages. ``` The package `libwebkit2gtk-4.1-0` is already installed! ### Steps to reproduce 1. Try to install the package using `sudo dpkg -i Hoppscotch_linux_x64.deb` 2. Check the error 3. Try to install the package using `sudo apt install ./Hoppscotch_linux_x64.deb` 4. Same Error 5. Try to bypass package installation `sudo dpkg -i --ignore-depends=libwebkit2gtk-4.0-37 ./Hoppscotch_linux_x64.deb` 5.1 The package is installed but does not start. ### Environment Production ### Version Local
kerem 2026-03-16 20:43:12 +03:00
Author
Owner

@Jooraz commented on GitHub (Aug 5, 2024):

This is caused by dependencies coming from tauri about which you can read in here: https://github.com/tauri-apps/tauri/issues/9662. TLDR is basically that, the references in hoppscotch-desktop would have to be updated to v2 of tauri (right now rc.1 is available, which is suboptimal). Also after performing the migration, more code changes in packages/hoppscotch-selfhost-desktop/src/platform/auth.ts would have to be made, as @tauri-apps/plugin-http (from v2) is not having both Body and getClientfrom in it, unlike previously was in @tauri-apps/api/http. Not sure if they will be providing this in the future or Auth will need to be redesigned in the end.

However for a now as a workaround, what you can find in the 9662 issue is a link to clash-verge-rev dependencies.
Alternatively you can get them from launchpad:
https://answers.launchpad.net/ubuntu/noble/amd64/libwebkit2gtk-4.0-37/2.43.3-1
https://answers.launchpad.net/ubuntu/noble/amd64/libjavascriptcoregtk-4.0-18/2.43.3-1
It's downloadable from there however both of the packages are in deleted status
image

Once I've installed them both on fresh Ubuntu 24.04, hoppscotch desktop started completely fine

<!-- gh-comment-id:2269585769 --> @Jooraz commented on GitHub (Aug 5, 2024): This is caused by dependencies coming from tauri about which you can read in here: https://github.com/tauri-apps/tauri/issues/9662. TLDR is basically that, the references in hoppscotch-desktop would have to be updated to v2 of tauri (right now rc.1 is available, which is suboptimal). Also after performing the migration, more code changes in [packages/hoppscotch-selfhost-desktop/src/platform/auth.ts](https://github.com/hoppscotch/hoppscotch/blob/4fd6d6ddb4333e3d237f48d3ce01136d9f3f7f94/packages/hoppscotch-selfhost-desktop/src/platform/auth.ts) would have to be made, as `@tauri-apps/plugin-http` (from v2) is not having both `Body` and `getClientfrom` in it, unlike previously was in `@tauri-apps/api/http`. Not sure if they will be providing this in the future or Auth will need to be redesigned in the end. However for a now as a **workaround**, what you can find in the [9662](https://github.com/tauri-apps/tauri/issues/9662#issuecomment-2144939700) issue is a link to [clash-verge-rev dependencies](https://github.com/clash-verge-rev/clash-verge-rev/releases/tag/dependencies). Alternatively you can get them from launchpad: https://answers.launchpad.net/ubuntu/noble/amd64/libwebkit2gtk-4.0-37/2.43.3-1 https://answers.launchpad.net/ubuntu/noble/amd64/libjavascriptcoregtk-4.0-18/2.43.3-1 It's downloadable from there however both of the packages are in deleted status ![image](https://github.com/user-attachments/assets/9c662a8d-1eed-4276-b467-d5f2422b7a41) Once I've installed them both on fresh Ubuntu 24.04, hoppscotch desktop started completely fine
Author
Owner

@pisandelli commented on GitHub (Aug 5, 2024):

Thanks, @Jooraz!
I've installed these packages and now Hoppscotch is working!
Hope this problem with Tauri get resolved soon!

<!-- gh-comment-id:2269664149 --> @pisandelli commented on GitHub (Aug 5, 2024): Thanks, @Jooraz! I've installed these packages and now Hoppscotch is working! Hope this problem with Tauri get resolved soon!
Author
Owner

@Jooraz commented on GitHub (Aug 5, 2024):

@pisandelli don't think they will, this issue is rolling for 3 months already

<!-- gh-comment-id:2269679826 --> @Jooraz commented on GitHub (Aug 5, 2024): @pisandelli don't think they will, this issue is rolling for 3 months already
Author
Owner

@princessfrombabylon99 commented on GitHub (Nov 25, 2024):

@kaki87 BKL , kindly fix it properly without workaround.

<!-- gh-comment-id:2497975631 --> @princessfrombabylon99 commented on GitHub (Nov 25, 2024): @kaki87 **BKL** , kindly fix it properly without workaround.
Author
Owner
<!-- gh-comment-id:2606331331 --> @varunvilva commented on GitHub (Jan 22, 2025): Thanks @Jooraz installing Hoppscotch after downloading these 2 packages helped me!!! :) - https://github.com/clash-verge-rev/clash-verge-rev/releases/download/dependencies/libjavascriptcoregtk-4.0-18_2.43.3-1_amd64.deb - https://github.com/clash-verge-rev/clash-verge-rev/releases/download/dependencies/libwebkit2gtk-4.0-37_2.43.3-1_amd64.deb
Author
Owner

@pisandelli commented on GitHub (Jul 2, 2025):

deb Package is now installing without any hassle.
Tested on Ubuntu 25.04
Thanks!

<!-- gh-comment-id:3028878453 --> @pisandelli commented on GitHub (Jul 2, 2025): deb Package is now installing without any hassle. Tested on Ubuntu 25.04 Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1528
No description provided.