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

Could not install on ubuntu 2024 #4914

Open
emadbaqeri opened this issue Sep 14, 2024 · 7 comments
Open

Could not install on ubuntu 2024 #4914

emadbaqeri opened this issue Sep 14, 2024 · 7 comments
Labels
bug Something isn't working distribution Something related to the packaged binaries, app-images and installers

Comments

@emadbaqeri
Copy link

emadbaqeri commented Sep 14, 2024

Version

0.12.25

Operating System

Linux

Distribution Method

deb (Linux)

Describe the issue

I've downloaded the app .deb file on the fresh Ubuntu 24.04.1 LTS and want to install it using sudo apt install ./git-butler_0.12.25_amd64.deb but I end up with this output from the command:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'git-butler' instead of './git-butler_0.12.25_amd64.deb'
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:
 git-butler : Depends: libwebkit2gtk-4.0-dev but it is not installable
              Depends: libwebkit2gtk-4.0-37 but it is not installable
E: Unable to correct problems, you have held broken packages.

How to reproduce

Download the .deb file and try installing it on Ubuntu 24.04.1 LTS x86_64 using sudo apt install ./git-butler_0.12.25_amd64.deb

Expected behavior

I just want it to install normally as it should.

Relevant log output

.-/+oossssoo+/-.               emad@obonto
        `:+ssssssssssssssssss+:`           -----------
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 24.04.1 LTS x86_64
    .ossssssssssssssssssdMMMNysssso.       Host: 81BF Lenovo ideapad 520-15IKB
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.8.0-44-generic
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 8 mins
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 1722 (dpkg), 7 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.2.21
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1920x1080
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   DE: GNOME 46.0
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Theme: Yaru-dark [GTK2/3]
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    Icons: Yaru-dark [GTK2/3]
  +sssssssssdmydMMMMMMMMddddyssssssss+     Terminal: WarpTerminal
   /ssssssssssshdmNNNNmyNMMMMhssssss/      CPU: Intel i7-8550U (8) @ 1.800GHz
    .ossssssssssssssssssdMMMNysssso.       GPU: NVIDIA GeForce MX150
      -+sssssssssssssssssyyyssss+-         GPU: Intel UHD Graphics 620
        `:+ssssssssssssssssss+:`           Memory: 2521MiB / 15774MiB
            .-/+oossssoo+/-.
@emadbaqeri emadbaqeri added the bug Something isn't working label Sep 14, 2024
@emadbaqeri
Copy link
Author

emadbaqeri commented Sep 14, 2024

I've also checked this blog post on tauri blog and did what said there, but also it's not working

@emadbaqeri
Copy link
Author

this issue also closed but this is true for my case and it's not been resolved

@emadbaqeri
Copy link
Author

I've also installed the libwebkit2gtk using synaptics GUI but still have the issue

image

@Byron Byron added the distribution Something related to the packaged binaries, app-images and installers label Sep 15, 2024
@Byron
Copy link
Collaborator

Byron commented Sep 15, 2024

Thanks a lot for reporting, and for not giving up in getting the installation to work!

@ndom91 also works on Linux and might have an idea as to what might be happening here.

@ndom91
Copy link
Contributor

ndom91 commented Sep 15, 2024

Hey yeah thanks for reaching out.

Unfortunately Ubuntu 24.04 no longer provides libwebkit2gtk-4.0-dev in their repositories. Only the 4.1 version.

Tauri v1 applications, like ours, require -4.0 and tauri v2 apps require -4.1.

I see in your synaptics screenshot you've only installed libwebkit2gtk-4.0-docs and the 4.1-dev package. You'll need the 4.0-dev package, the exact package mentioned toward the bottom of the original log output you shared above.

There is a pinned issue in the Tauri repository which talks about this specific issue if you want some more info. Long story short, you'll have to install libwebkit2gtk-4.0-dev manually somehow, or alternatively you could give our AppImage release a shot 🙏

@emadbaqeri
Copy link
Author

Thanks @ndom91 and @Byron, I'll be using AppImage ;)
Is there any plan for migrating from tauri 1.0 to 2.0? If there is I would love to contribute with that

@ndom91
Copy link
Contributor

ndom91 commented Sep 15, 2024

@emadbaqeri Glad to hear the appimage works for you!

Regarding a Tauri v2 update - we were about to pull the trigger on that upgrade last week actually (PR), but it turns out that the tauri updater plugin changed the way the name of the binary is generated.

This is an issue when updating from v1 to v2 on MacOS, for example, because the app will refuse to finish the upgrade process and launch a binary that is of a different name than the one that's currently running (itself), more details here: gitbutlerapp/tauri#1

EDIT: Latest update seems to be that someone from the Tauri team is looking into it, so hopefully we can continue with the v2 upgrade soon 🤞 (Source)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distribution Something related to the packaged binaries, app-images and installers
Projects
None yet
Development

No branches or pull requests

3 participants