Skip to content

packaging: the .deb only installs on Ubuntu 26.04, but its name doesn't say so and on other releases apt prints a wall of unmet dependencies #2297

Closed

Description

@rdoupe

Refs #2227

Severity: Medium. Ubuntu 22.04/24.04 and Debian 12/13 users who pick the .deb get an apt failure that doesn't tell them what to do. This is likely the ".deb problems" in #2227. Nothing is broken on 26.04.

What happens

apt install ./OBS-Studio-Rust-0.1.0-beta.20261023-linux-x86_64.deb on stock containers:

Release glibc Result
Ubuntu 22.04 2.35 FAIL, 35 unmet dependencies
Ubuntu 24.04 2.39 FAIL, 21 unmet dependencies
Debian 12 2.36 FAIL, 31 unmet dependencies
Debian 13 2.41 FAIL, 13 unmet dependencies
Ubuntu 26.04 2.43 OK (347 packages pulled in, launches)

The ones nobody can fix: libc6 (>= 2.43), libstdc++6 (>= 14), libqt6core6t64 (>= 6.10.2) / libqt6widgets6 (>= 6.10.2), libavcodec62/libavformat62/libavutil60/libswscale9/libswresample6 (FFmpeg 8), libpython3.14, libx264-165, libvpl2 (>= 2.16). Ubuntu 22.04 and Debian 12 also lack the t64 library names. Forcing the package in (dpkg --force-depends) on Debian 13 leaves /usr/bin/obs-studio-rust-gui failing with version `GLIBC_2.43' not found. There is no partial-install workaround.

apt's error ends with E: Unable to correct problems, you have held broken packages., which sends users the wrong way.

Where it is documented

  • The release body does say it: "sudo apt install ./...deb (Ubuntu 26.04), or the AppImage for any distribution" (.github/workflows/release-rust.yaml#L607).
  • The asset name doesn't. It is OBS-Studio-Rust-<ver>-linux-x86_64.deb, which reads as "the Linux .deb".
  • The README has no Linux install section. It mentions neither the .deb nor that it needs 26.04.

Root cause

The .deb is built on Ubuntu 26.04 (runs-on: ubuntu-26.04) with CPACK_DEBIAN_PACKAGE_SHLIBDEPS TRUE (cmake/linux/cpackconfig.cmake#L31). dpkg-shlibdeps correctly records 26.04's library versions. That is expected for a distribution-built .deb. The problem is only in how the package is named and documented.

Fix plan

  1. Name the asset after the release it is built on: OBS-Studio-Rust-<ver>-ubuntu-26.04-x86_64.deb (in the release job's copy/upload step and in the release body's apt install line).
  2. Add a short "Install on Linux" section to the README: the AppImage for any distribution (with chmod +x), the .deb for Ubuntu 26.04 only, and no Flatpak yet (see the Flatpak draft).
  3. Separate decision for the maintainers: whether to also build a 24.04 LTS .deb. It would need Qt ≥ 6.10 and FFmpeg 8, which 24.04 doesn't have, so it would mean bundling them. The AppImage already covers 24.04, so the cheap path is (1) + (2).

RED/GREEN test (CI-runnable)

  • ci/test_release_assets.py (static, reads the release job): the .deb asset name must contain the ID-VERSION_ID of the image it is built on. RED today, GREEN after (1).
  • Release smoke (existing release job, after packaging): docker run ubuntu:26.04 apt-get install -y ./<deb> must succeed. On ubuntu:24.04 it must fail with unmet libc6 (>= ...). That pins the documented support boundary, so a future change to the build base can't move it silently.

Activity

  1. added
    bug
    on Oct 25, 2026
  2. zackees commented on Oct 25, 2026

    @zackees
    Member

    Claiming: #2297

    1. One PR, fix plan (1): the .deb release asset is named OBS-Studio-Rust-<ver>-ubuntu-26.04-x86_64.deb, taken from the build runner's os-release, and the release body and ci/release_decision.py follow. Plan (2) already landed in docs: Say there is no OBS-Studio-Rust Flatpak #2306. Plan (3), a 24.04 .deb, stays a maintainer decision. RED: a static test that the asset name carries the runner's ID-VERSION_ID.
  3. added
    ready
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions