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

Install for ubuntu 24.04 (noble) fails #375

Closed
martabal opened this issue Apr 6, 2024 · 10 comments
Closed

Install for ubuntu 24.04 (noble) fails #375

martabal opened this issue Apr 6, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@martabal
Copy link

martabal commented Apr 6, 2024

Describe The Bug
Hello !

It seems that the feature freeze mentionned in #368 does not guarantee package freezing : libvpx8 is not available for ubuntu 24.04 (noble), it's libvpx9, resulting in a failure when installing jellyfin-ffmpeg v6.0.1-5

https://packages.ubuntu.com/search?suite=noble&searchon=names&keywords=libvpx8
https://packages.ubuntu.com/noble/libvpx9

The following packages have unmet dependencies:
jellyfin-ffmpeg6 : Depends: libvpx8 (>= 1.12.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Steps To Reproduce

  1. Try to install jellyfin-ffmpeg 6.0.1-5 on ubuntu 24.04
  2. Get the Dockerfile attached to this issue
  3. Run docker build -t jellyfin-ffmpeg

Expected Behavior

It should install jellyfin-ffmpeg

System (please complete the following information):

  • Platform: Linux
  • Operating System: Arch Linux
  • Virtualization: Docker (ubuntu noble)
  • Jellyfin Version: 6.0.1
  • Jellyfin-FFmpeg Version: 6.0.1-5
  • Hardware Acceleration: N/A
  • CPU & GPU Model: N/A

MediaInfo
N/A

FFmpeg Logs
N/A

Dockerfile

FROM ubuntu:noble

RUN apt-get update && \
    apt-get install -y \
      curl && \
    FFMPEG_VERSION="6.0.1-5" && \
    TARGETARCH=${TARGETARCH:=$(dpkg --print-architecture)} && \
    curl -o \
      /tmp/ffmpeg.deb -L \
      "https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v${FFMPEG_VERSION}/jellyfin-ffmpeg6_${FFMPEG_VERSION}-noble_${TARGETARCH}.deb" && \
    apt-get install --no-install-recommends -y -f \
      /tmp/ffmpeg.deb
@martabal martabal added the bug Something isn't working label Apr 6, 2024
@nyanmisaka
Copy link
Member

nyanmisaka commented Apr 6, 2024

@martabal Due to the CVE of XZ happened last week. Ubuntu rebuilt all their packages so our experimental jellyfin-ffmpeg6 builds for Noble no longer applies to it.

There are still some broken links in the Ubuntu repo causing 404 error, so we will not rebuild until 24.04 LTS is finalized.

@martabal
Copy link
Author

martabal commented Apr 6, 2024

Right, that makes sense. Thank you for the info !

Do you want to keep that issue opened ?

@nyanmisaka
Copy link
Member

I'll keep this open until we fix it, probably later this month.

@nyanmisaka
Copy link
Member

@martabal We have fixed the issue but have not yet tagged a new release. Can you download a Noble deb build from artifacts and try it out?

@satmandu
Copy link

Lddtree isn't complaining about the build on noble.

lddtree /usr/lib/jellyfin-ffmpeg/ffmpeg 
/usr/lib/jellyfin-ffmpeg/ffmpeg (interpreter => /lib64/ld-linux-x86-64.so.2)
    libavdevice.so.60 => /usr/lib/jellyfin-ffmpeg/lib/libavdevice.so.60
        libdrm.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libdrm.so.2
    libavfilter.so.9 => /usr/lib/jellyfin-ffmpeg/lib/libavfilter.so.9
        libfribidi.so.0 => /usr/lib/jellyfin-ffmpeg/lib/libfribidi.so.0
        libplacebo.so.338 => /usr/lib/jellyfin-ffmpeg/lib/libplacebo.so.338
            libvulkan.so.1 => /usr/lib/jellyfin-ffmpeg/lib/libvulkan.so.1
            libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
            libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
        libass.so.9 => /usr/lib/jellyfin-ffmpeg/lib/libass.so.9
            libiconv.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libiconv.so.2
            libharfbuzz.so.0 => /usr/lib/jellyfin-ffmpeg/lib/libharfbuzz.so.0
        libva.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libva.so.2
        libshaderc_shared.so.1 => /usr/lib/jellyfin-ffmpeg/lib/libshaderc_shared.so.1
        libzimg.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libzimg.so.2
        libOpenCL.so.1 => /lib/x86_64-linux-gnu/libOpenCL.so.1
        libfontconfig.so.1 => /usr/lib/jellyfin-ffmpeg/lib/libfontconfig.so.1
            libxml2.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libxml2.so.2
                libz.so.1 => /usr/lib/jellyfin-ffmpeg/lib/libz.so.1
        libfreetype.so.6 => /usr/lib/jellyfin-ffmpeg/lib/libfreetype.so.6
        libvpl.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libvpl.so.2
    libavformat.so.60 => /usr/lib/jellyfin-ffmpeg/lib/libavformat.so.60
        libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0
        libopenmpt.so.0 => /lib/x86_64-linux-gnu/libopenmpt.so.0
            libmpg123.so.0 => /lib/x86_64-linux-gnu/libmpg123.so.0
            libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0
                libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0
            libvorbisfile.so.3 => /lib/x86_64-linux-gnu/libvorbisfile.so.3
        libchromaprint.so.1 => /usr/lib/jellyfin-ffmpeg/lib/libchromaprint.so.1
            libfftw3f.so.3 => /usr/lib/jellyfin-ffmpeg/lib/libfftw3f.so.3
        libbluray.so.2 => /lib/x86_64-linux-gnu/libbluray.so.2
            libudfread.so.0 => /lib/x86_64-linux-gnu/libudfread.so.0
        libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10
        libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30
            libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0
                libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8
            libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0
            libunistring.so.5 => /lib/x86_64-linux-gnu/libunistring.so.5
            libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6
            libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8
            libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6
    libavcodec.so.60 => /usr/lib/jellyfin-ffmpeg/lib/libavcodec.so.60
        libvpx.so.9 => /lib/x86_64-linux-gnu/libvpx.so.9
        libwebpmux.so.3 => /lib/x86_64-linux-gnu/libwebpmux.so.3
        libdav1d.so.7 => /usr/lib/jellyfin-ffmpeg/lib/libdav1d.so.7
        libzvbi.so.0 => /lib/x86_64-linux-gnu/libzvbi.so.0
            libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16
        libfdk-aac.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libfdk-aac.so.2
        libmp3lame.so.0 => /lib/x86_64-linux-gnu/libmp3lame.so.0
        libopus.so.0 => /lib/x86_64-linux-gnu/libopus.so.0
        libSvtAv1Enc.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libSvtAv1Enc.so.2
        libtheoraenc.so.1 => /lib/x86_64-linux-gnu/libtheoraenc.so.1
        libtheoradec.so.1 => /lib/x86_64-linux-gnu/libtheoradec.so.1
            libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2
                libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6
                libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6
                libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1
                libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1
                    libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6
                    libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6
                        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0
                            libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0
                libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0
                libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0
                libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0
        libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2
        libwebp.so.7 => /lib/x86_64-linux-gnu/libwebp.so.7
            libsharpyuv.so.0 => /lib/x86_64-linux-gnu/libsharpyuv.so.0
        libx264.so.164 => /lib/x86_64-linux-gnu/libx264.so.164
        libx265.so.199 => /lib/x86_64-linux-gnu/libx265.so.199
            libnuma.so.1 => /lib/x86_64-linux-gnu/libnuma.so.1
    libpostproc.so.57 => /usr/lib/jellyfin-ffmpeg/lib/libpostproc.so.57
    libswresample.so.4 => /usr/lib/jellyfin-ffmpeg/lib/libswresample.so.4
    libswscale.so.7 => /usr/lib/jellyfin-ffmpeg/lib/libswscale.so.7
    libavutil.so.58 => /usr/lib/jellyfin-ffmpeg/lib/libavutil.so.58
        libva-drm.so.2 => /usr/lib/jellyfin-ffmpeg/lib/libva-drm.so.2
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6

@martabal
Copy link
Author

Yes, it's working. Thank you !

@gnattu gnattu closed this as completed Apr 23, 2024
@satmandu
Copy link

Here's to hoping that an official release with the noble builds happens soon! Noble was officially released today, and it would be nice not to have to install from github build artifacts. ;)

@nyanmisaka
Copy link
Member

I will make a new release soon.

@baradhili
Copy link

baradhili commented Apr 27, 2024

tried it today and the curl script was dying. Did install ffmpeg6 but that didn't fix it.

The following packages have unmet dependencies:
 jellyfin : Depends: jellyfin-ffmpeg5 (>= 5.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

@nyanmisaka
Copy link
Member

tried it today and the curl script was dying. Did install ffmpeg6 but that didn't fix it.

The following packages have unmet dependencies:
 jellyfin : Depends: jellyfin-ffmpeg5 (>= 5.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

As far as I know, Jellyfin 10.8.z and jellyfin-ffmpeg5 do not support Ubuntu 24.04. You need to wait for Jellyfin 10.9 release next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants