actions / runner-images

GitHub Actions runner images
MIT License
9.22k stars 2.86k forks source link

Gstreamer packages not found although part of noble #9885

Closed otiv-emiel-vanseveren closed 2 weeks ago

otiv-emiel-vanseveren commented 2 weeks ago

Description

Ubuntu noble comes with gstreamer packages. These are available locally on Ubuntu 24.04, but are not found when running the github actions container.

E: Unable to locate package gstreamer1.0-plugins-base E: Couldn't find any package by glob ' gstreamer1.0-plugins-base' E: Couldn't find any package by regex ' gstreamer1.0-plugins-base' E: Unable to locate package gstreamer1.0-plugins-bad E: Couldn't find any package by glob ' gstreamer1.0-plugins-bad' E: Couldn't find any package by regex ' gstreamer1.0-plugins-bad' E: Unable to locate package gstreamer1.0-libav E: Couldn't find any package by glob ' gstreamer1.0-libav' E: Couldn't find any package by regex ' gstreamer1.0-libav'

Platforms affected

Runner images affected

Image version and build link

/

Is it regression?

unknown

Expected behavior

It to find the packages which are currently addressed as not found.

Actual behavior

Packages are reported as not found

Repro steps

Run sudo apt-get update && sudo apt-get -y install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \ gstreamer1.0-plugins-base libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good \ gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \ gstreamer1.0-libav libgstrtspserver-1.0-dev libges-1.0-dev

(some of these install, some don't)

erik-bershel commented 2 weeks ago

Hey @otiv-emiel-vanseveren! There is an issue with you apt-get command syntax I suppose. This worked perfectly fine for me:

      - name: Run multiline
        run: |
          sudo apt-get update
          sudo apt-get -y install libgstreamer1.0-dev 
          sudo apt-get -y install libgstreamer-plugins-base1.0-dev
          sudo apt-get -y install gstreamer1.0-plugins-base
          sudo apt-get -y install gstreamer1.0-plugins-good
          sudo apt-get -y install gstreamer1.0-plugins-bad
          sudo apt-get -y install gstreamer1.0-plugins-ugly
          sudo apt-get -y install gstreamer1.0-libav 
          sudo apt-get -y install libgstrtspserver-1.0-dev 
          sudo apt-get -y install libges-1.0-dev
Screenshot 2024-05-17 at 19 11 15