Skip to content

OBS Studio not installing #2759

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

Open
3 tasks done
BillyBob554 opened this issue Apr 9, 2025 · 4 comments
Open
3 tasks done

OBS Studio not installing #2759

BillyBob554 opened this issue Apr 9, 2025 · 4 comments
Labels
User Error Issue is due to user error and not a bug with pi-apps

Comments

@BillyBob554
Copy link

Confirmations

What happened?

OBS Studio will not properly install

Description

I am trying to install OBS Studio on my Arm64 Linux machine, but it does not seem to work. I cannot seem to find a reason for why this doesn't work.

What are your system specs (run the following command in your terminal)?

OS: Debian GNU/Linux 12 (bookworm)
OS architecture: 64-bit
Last updated Pi-Apps on: 04/09/2025
Latest Pi-Apps version: 04/09/2025
Kernel: aarch64 6.6.30-02728-g8557330097f3
Device model: 
Machine-id (hashed): 645dbcaaa82e75cc1d511d5e812ef064c129fdc6
Cpu name: Cortex-A53
Cortex-A73
Ram size: 2.76 GB
Language: en_US.UTF-8

(Recommended) Error log? Terminal output? Debug messages?

🭊🬹🬹🬹🬿                                                          
 🭈🬭🬭🬎🬭🬭🬭🬎🬭🬭🬽                                                       
 ▋  ▄ ▄ ▄  🮉   █▀▀🭍 ▄    🭋🭡🭖🭀                                      
 ▋  ▄ ▄ ▄  🮉   █▄▄🭞 ▄ ▄▄ 🭅▙▟🭐 █▀▀🭍 █▀▀🭍 🭂🬰🬰🬰                       
 ▋  ▄ ▄ ▄  🮉   █    █   🭋🭡  🭖🭀█▄▄🭞 █▄▄🭞 ▄▄▄🭞                       
 🭕🭏🬭🬭🬭🬭🬭🬭🬭🭄🭠                  █    █                               
                                                                   
                                                                   
Installing OBS Studio...

Will install these packages: qt6-qpa-plugins https://github.com/Pi-Apps-Coders/files/releases/download/large-files/obs-studio-30.2.2-1-arm64-bookworm.deb 
Downloading obs-studio-30.2.2-1-arm64-bookworm.deb to /tmp/obs-studio-30.2.2-1-arm64-bookworm.deb... 
--2025-04-09 08:37:56--  https://github.com/Pi-Apps-Coders/files/releases/download/large-files/obs-studio-30.2.2-1-arm64-bookworm.deb
Resolving github.com (github.com)... 140.82.114.3
Connecting to github.com (github.com)|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/396942907/adef6036-f195-45cf-a519-c353b3661cc4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250409%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250409T123756Z&X-Amz-Expires=300&X-Amz-Signature=17d8c7b3a328eef455b0af182b5157caffef1c1c7f2e28bed46e52df2ce39ac9&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dobs-studio-30.2.2-1-arm64-bookworm.deb&response-content-type=application%2Foctet-stream [following]
--2025-04-09 08:37:56--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/396942907/adef6036-f195-45cf-a519-c353b3661cc4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250409%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250409T123756Z&X-Amz-Expires=300&X-Amz-Signature=17d8c7b3a328eef455b0af182b5157caffef1c1c7f2e28bed46e52df2ce39ac9&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dobs-studio-30.2.2-1-arm64-bookworm.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.109.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 112209432 (107M) [application/octet-stream]
Saving to: ‘/tmp/obs-studio-30.2.2-1-arm64-bookworm.deb’

/tmp/obs-studio-30. 100%[===================>] 107.01M  13.4MB/s    in 7.0s    

2025-04-09 08:38:04 (15.3 MB/s) - ‘/tmp/obs-studio-30.2.2-1-arm64-bookworm.deb’ saved [112209432/112209432]


Done
Creating an empty apt-package to install the necessary apt packages...
It will be named: pi-apps-2fe85b57
Depends: obs-studio (>= 30.2.2-1), qt6-qpa-plugins
Running sudo apt update...
Get:1 file:/tmp/pi-apps-local-packages ./ InRelease
Ign:1 file:/tmp/pi-apps-local-packages ./ InRelease
Get:2 file:/tmp/pi-apps-local-packages ./ Release [847 B]
Get:2 file:/tmp/pi-apps-local-packages ./ Release [847 B]
Get:3 file:/tmp/pi-apps-local-packages ./ Release.gpg
Ign:3 file:/tmp/pi-apps-local-packages ./ Release.gpg
Get:4 file:/tmp/pi-apps-local-packages ./ Packages [2,296 B]
Hit:5 https://deb.debian.org/debian bookworm InRelease
Hit:6 https://deb.debian.org/debian bookworm-updates InRelease
Hit:7 https://deb.debian.org/debian-security bookworm-security InRelease
Ign:8 https://storage.googleapis.com/cros-packages/126 bookworm InRelease
Hit:9 https://storage.googleapis.com/cros-packages/126 bookworm Release
All packages are up to date.
apt update complete.
Installing the pi-apps-2fe85b57 package...
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:
 obs-studio : Depends: libfdk-aac2 (>= 2.0.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
Apt finished.
Failed to install the packages!
The APT reported these errors:
E: Unable to correct problems, you have held broken packages.
The Pi-Apps Local Repository was being used, and a package seemed to not be available. Here's the Packages file:
Package: obs-studio
Architecture: arm64
Version: 30.2.2-1
Priority: optional
Section: devel
Maintainer: OBS Project
Installed-Size: 282570
Depends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libavcodec59 (>= 7:5.0), libavdevice59 (>= 7:5.0), libavformat59 (>= 7:5.0), libavutil57 (>= 7:5.1), libc6 (>= 2.34), libcups2 (>= 1.7.0), libcurl4 (>= 7.16.2), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.60), libegl1, libexpat1 (>= 2.0.1), libfdk-aac2 (>= 2.0.1), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.2.1), libgbm1 (>= 17.1.0~rc2), libgcc-s1 (>= 4.2), libglib2.0-0 (>= 2.39.4), libglx0, libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125, libjansson4 (>= 2.14), libluajit-5.1-2 (>= 2.0.4+dfsg) | libluajit2-5.1-2 (>= 2.1~), libmbedcrypto7 (>= 2.28.0), libmbedtls14 (>= 2.28.0), libmbedx509-1 (>= 2.28.0), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libopengl0, libpci3 (>= 1:3.8.0), libpipewire-0.3-0 (>= 0.3.6), libpulse0 (>= 0.99.1), libpython3.11 (>= 3.11.0), libqrcodegencpp1 (>= 1.2.1), libqt6core6 (>= 6.4.0), libqt6dbus6 (>= 6.3.0), libqt6gui6 (>= 6.4.0), libqt6network6 (>= 6.1.2), libqt6svg6 (>= 6.2.0), libqt6widgets6 (>= 6.3.0), libqt6xml6 (>= 6.1.2), libsndio7.0 (>= 1.8.1), libspeexdsp1 (>= 1.2.1), libstdc++6 (>= 12), libswresample4 (>= 7:5.1), libswscale6 (>= 7:5.0), libudev1 (>= 183), libuuid1 (>= 2.16), libv4l-0 (>= 0.5.0), libva-drm2 (>= 1.1.0), libva2 (>= 2.2.0), libwayland-client0 (>= 1.20.0), libwayland-egl1 (>= 1.15.0), libx11-6 (>= 2:1.4.99.1), libx11-xcb1 (>= 2:1.8.4), libx264-164 (>= 2:0.164.3095+gitbaee400), libxcb-composite0, libxcb-randr0 (>= 1.12), libxcb-shm0, libxcb-xfixes0, libxcb-xinerama0, libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.4.5), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>= 0.5.0), libxrandr2, zlib1g (>= 1:1.1.4)
Filename: obs-studio-30.2.2-1-arm64-bookworm.deb
Size: 112209432
MD5sum: b3e5c41cf89187982ee4f615575b404a
SHA1: 2720916d0aa7abb4a967c2d148a1f75b33ec9e40
SHA256: 65b8cdbdbe175bd94eea76c077a03e0177ddc05632fe05eb1ae8f6534cd820c7
SHA512: f6f64c8ab509944743d7bf97340fdc4fd893dfd36b1cdba9ec1e3900c357843da03a06be4013bace41888ea9be1b3e86163fe396ee0d7707d4128f7fea975fcc
Description: Free and open source software for video recording and live streaming

Attempting apt --dry-run installation of the problematic package(s) for debugging purposes:

Reading package lists...
Building dependency tree...
Reading state information...
Package libfdk-aac2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libfdk-aac2' has no installation candidate
Printing apt-cache policy output for debugging purposes:

Package files:
 100 /var/lib/dpkg/status
     release a=now
 995 https://storage.googleapis.com/cros-packages/126 bookworm/main arm64 Packages
     release v=1.0,o=Google,a=stable,n=bookworm,l=cros-containers,c=main,b=arm64
     origin storage.googleapis.com
 500 https://deb.debian.org/debian-security bookworm-security/main arm64 Packages
     release v=12,o=Debian,a=stable-security,n=bookworm-security,l=Debian-Security,c=main,b=arm64
     origin deb.debian.org
 500 https://deb.debian.org/debian bookworm-updates/main arm64 Packages
     release v=12-updates,o=Debian,a=stable-updates,n=bookworm-updates,l=Debian,c=main,b=arm64
     origin deb.debian.org
 500 https://deb.debian.org/debian bookworm/main arm64 Packages
     release v=12.10,o=Debian,a=stable,n=bookworm,l=Debian,c=main,b=arm64
     origin deb.debian.org
Pinned packages:

Failed to install OBS Studio!
◢◣Need help? Copy the ENTIRE terminal output or take a screenshot.
Please ask on Github: https://github.com/Botspot/pi-apps/issues/new/choose
Or on Discord: https://discord.gg/RXSTvaUvuu

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
@BillyBob554 BillyBob554 added the bug Something isn't working label Apr 9, 2025
Copy link
Contributor

github-actions bot commented Apr 9, 2025

Hello there 👋
Thanks for submitting your first issue to the Pi-Apps project! We'll try to get back to you as soon as possible.
In the meantime, we encourage you join our Discord server, where you can ask any questions you might have.

Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response.

@theofficialgman
Copy link
Collaborator

It looks like you have disabled (or it came disabled out of the box on the debian image you are using) the non-free debian archive which is where the dependency libfdk-aac2 comes from. Please enable the non-free archive by adding it in your sources.list or debian.sources fuke (either located at /etc/apt/sources.list or somewhere in /etc/apt/sources.list.d/). Based on your logs it looks like only main is enabled for bookworm-security bookworm-updated and bookworm, please add non-free to all of those targets. If you have trouble or need confirmation on your edits please comment.

@theofficialgman theofficialgman added User Error Issue is due to user error and not a bug with pi-apps and removed bug Something isn't working labels Apr 10, 2025
@Botspot
Copy link
Owner

Botspot commented Apr 10, 2025

Can reproduce. Not sure why this has not been an issue for 9 months, as it has been that long since the pi-apps script for OBS was updated.
Anyways, I tried installing OBS now on my Bookworm OS which has had no changes made to sources.list, and it failed with the exact same error.

Best guess is that maybe libfdk-aac2 was recently moved in the debian repositories to non-free? Not sure. Anyway, for whatever reason non-free was not enabled in my sources.list. I had always assumed it was, but it only had non-free-firmware. Added it, retried installing OBS, and it worked this time.

@theofficialgman Assuming this is a PiOS oversight, how bad would it be for pi-apps to detect the lack of non-free and add it automatically to sources.list?

@theofficialgman
Copy link
Collaborator

This installs successfully in CI on PiOS. That's the first thing I ran yesterday when responding. You can tell non-free is enabled out of the box (at least in all the latest images) https://github.com/Botspot/pi-apps/actions/runs/14370930751/job/40293715763#step:3:1181

Couldn't tell you why non-free is disabled in your sources list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Error Issue is due to user error and not a bug with pi-apps
Projects
None yet
Development

No branches or pull requests

3 participants