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

err on deepin23 #5888

Open
Avey777 opened this issue Jan 4, 2025 · 8 comments
Open

err on deepin23 #5888

Avey777 opened this issue Jan 4, 2025 · 8 comments
Labels
bug Something isn't working distribution Something related to the packaged binaries, app-images and installers os:linux The Linux platform

Comments

@Avey777
Copy link

Avey777 commented Jan 4, 2025

Version

0.14.4

Operating System

Linux

Distribution Method

deb (Linux)

Describe the issue

image
After successful installation, there is no response when starting GitButler

OS: deepin23 : https://www.deepin.org

How to reproduce

No response

Expected behavior

No response

Relevant log output

No response

@Avey777 Avey777 added the bug Something isn't working label Jan 4, 2025
@Byron Byron added os:linux The Linux platform distribution Something related to the packaged binaries, app-images and installers labels Jan 4, 2025
@Byron
Copy link
Collaborator

Byron commented Jan 4, 2025

Thanks for reporting!

I don't think this is an issue of the .deb package, as it definitely can't be executed like that.

Installing a .deb package on a Debian-based Linux system (such as Ubuntu) can be done using several methods. Here are the most common ways as produced by Quen Coder 2.5.

How does that work for you?


Using dpkg

The dpkg command is used for low-level package management and can directly install .deb files.

  1. Open Terminal: You can open the terminal by pressing Ctrl+Alt+T.

  2. Navigate to the Directory: Use the cd command to navigate to the directory where your .deb file is located, or provide the full path of the file.

  3. Install the Package:

    sudo dpkg -i package_name.deb

    Replace package_name.deb with the actual name of your .deb file.

  4. Resolve Dependencies: If there are any unmet dependencies, you can try to fix them using:

    sudo apt-get install -f

Using gdebi

The gdebi tool installs local .deb files and automatically resolves and installs their dependencies.

  1. Install gdebi (if not already installed):

    sudo apt-get update
    sudo apt-get install gdebi-core
  2. Open Terminal: Press Ctrl+Alt+T.

  3. Navigate to the Directory: Use the cd command to navigate to the directory where your .deb file is located, or provide the full path of the file.

  4. Install the Package:

    sudo gdebi package_name.deb

Using apt

The apt package manager can also install .deb files directly from the command line.

  1. Open Terminal: Press Ctrl+Alt+T.
  2. Navigate to the Directory: Use the cd command to navigate to the directory where your .deb file is located, or provide the full path of the file.
  3. Install the Package:
    sudo apt install ./package_name.deb

Using Software Center (GUI Method)

If you prefer a graphical method:

  1. Open Software Install: You can open the "Software & Updates" application or simply search for it in your applications menu.
  2. Install Package: Drag and drop the .deb file into the Software Install window, or double-click on the .deb file to open it with the Software Center.
  3. Click Install: Follow the prompts to install the package.

These methods should help you successfully install a .deb package on your Debian-based system.


在基于Debian的Linux系统(如Ubuntu)上安装.deb包有多种方法。以下是常用的方法:

使用 dpkg

dpkg 命令用于低级软件包管理,并可以直接安装 .deb 文件。

  1. 打开终端:你可以通过按 Ctrl+Alt+T 打开终端。

  2. 导航到目录:使用 cd 命令导航到包含 .deb 文件的目录,或者提供文件的完整路径。

  3. 安装软件包

    sudo dpkg -i 包名.deb

    包名.deb 替换为实际的 .deb 文件名。

  4. 解决依赖关系:如果存在未满足的依赖关系,可以尝试使用以下命令来修复:

    sudo apt-get install -f

使用 gdebi

gdebi 工具可以直接安装本地 .deb 文件,并自动解析和安装它们的依赖关系。

  1. 安装 gdebi(如果尚未安装):

    sudo apt-get update
    sudo apt-get install gdebi-core
  2. 打开终端:按 Ctrl+Alt+T 打开终端。

  3. 导航到目录:使用 cd 命令导航到包含 .deb 文件的目录,或者提供文件的完整路径。

  4. 安装软件包

    sudo gdebi 包名.deb

使用 apt

apt 软件包管理器也可以直接从命令行安装 .deb 文件。

  1. 打开终端:按 Ctrl+Alt+T 打开终端。
  2. 导航到目录:使用 cd 命令导航到包含 .deb 文件的目录,或者提供文件的完整路径。
  3. 安装软件包
    sudo apt install ./包名.deb

使用 软件中心(图形界面方法)

如果你更喜欢使用图形界面的方法:

  1. 打开软件安装器:你可以打开“软件和更新”应用程序或在应用程序菜单中搜索它。
  2. 安装软件包:将 .deb 文件拖放到软件安装器窗口,或者双击 .deb 文件以使用软件中心打开它。
  3. 点击安装:按照提示进行安装。

这些方法应该能帮助你在基于Debian的系统上成功安装 .deb 软件包。

@Byron Byron added feedback requested Feedback was requested to help resolve the issue and removed distribution Something related to the packaged binaries, app-images and installers labels Jan 4, 2025
@Avey777
Copy link
Author

Avey777 commented Jan 4, 2025

Record_select-area_20250104161749.mp4
Record_select-area_20250104162630.mp4

deepin23 not is debian

https://www.deepin.org/


No matter which method is used, the installation can be successful, but when opening GitButler, no GitButler window will be opened

@Byron
Copy link
Collaborator

Byron commented Jan 4, 2025

Thanks for the clarifying videos. I see now that the installation isn't directly the problem as it seems to succeed.

When nothing happens when clicking the icon I have a feeling that the executable can't be started at all while error messages are squelched.

Can you try to find the path to the executable and launch it directly from a terminal? That should show exactly what's going wrong. My guess is that it tries to link to some system libraries that aren't available. There are known incompatibilities to some linux distributions.
Thanks again.

@Avey777
Copy link
Author

Avey777 commented Jan 5, 2025

Record_select-area_20250105081401.mp4

--

image


image

@Byron Byron added distribution Something related to the packaged binaries, app-images and installers and removed feedback requested Feedback was requested to help resolve the issue labels Jan 5, 2025
@Byron
Copy link
Collaborator

Byron commented Jan 5, 2025

Thanks a lot!

Here is the key error message as extracted from the video:

/lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.39' not found (required by /ust/bin/gitbutler-tauri)

I think this will be all that @ndom91 would need to know what's going on.
My guess is that as long as we don't have MUSL builds, certain OS with older libc libraries won't be supported, unfortunately.

@ndom91
Copy link
Contributor

ndom91 commented Jan 6, 2025

This sounds like a similar issue we have due to building on Ubuntu 24.04. iirc deepin is also an Ubuntu/Debian based distro, right? It's not a musl distro though, is it? I see you do have glibc installed generally, although a slightly too old version.

If so, Tauri recommends building with the oldest version of Ubuntu that you want to support due to glibc not being backward compatible. Unfortunately for other reasons we build on Ubuntu 24.04 atm so nothing earlier (or based on earlier Ubuntu releases and their versions of glibc) will be supported.

We're working on getting a flatpak out for wider Linux support, however.

@Avey777
Copy link
Author

Avey777 commented Jan 6, 2025

Okay, very much looking forward to it

@ndom91
Copy link
Contributor

ndom91 commented Jan 9, 2025

@Avey777 if you're curious, you can check out an experimental flatpak release here: https://github.com/ndom91/gitbutler-flathub/actions. See the .flatpak artifact available in the latest passing action.

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 os:linux The Linux platform
Projects
None yet
Development

No branches or pull requests

3 participants