Skip to content

Documentation updates around liblttng-ust0 #1584

Closed

Description

@myoung34

Describe the enhancement

Documentation around the liblttng-ust0 package requirement

The issue is that debian (specifically sid and the upcoming bookworm) are moving to liblttng-ust1 vs liblttng-ust0
Im having to add some logic around which one to install but Im not sure what needs this under the hood and if the difference in whatever uts1 vs uts0 is, but this will likely cause issues for other actions project maintainers

Code Snippet

https://github.com/myoung34/docker-github-actions-runner/blob/master/Dockerfile.base#L48

Activity

  1. added
    enhancement
    on Jan 4, 2022
  2. freef4ll commented on Apr 28, 2022

    @freef4ll

    Ubuntu 22.04 Jammy is out as well and liblttng-ust0 is being attempted to be installed in installdependencies.sh.

  3. kaiwegner commented on May 11, 2022

    @kaiwegner

    For now I have to switch to an older distro because of this.

  4. nyarly commented on May 13, 2022

    @nyarly

    Likewise

  5. WoodyWoodsta commented on Jun 9, 2022

    @WoodyWoodsta

    Have the same issue:

    Reading state information...
    E: Unable to locate package liblttng-ust0
    'apt-get' failed with exit code '0'
    Can't install dotnet core dependencies.
    
  6. chingc commented on Jun 21, 2022

    @chingc

    I've also come across this issue today. Here are the steps to reproduce with docker:

    docker run --rm -it ubuntu:22.04
    
    # now inside container
    apt-get update
    apt-get install --yes curl
    
    # these steps taken from the releases page
    mkdir actions-runner && cd actions-runner
    curl -O -L https://github.com/actions/runner/releases/download/v2.293.0/actions-runner-linux-x64-2.293.0.tar.gz
    tar xzf ./actions-runner-linux-x64-2.293.0.tar.gz
    
    # this script fails
    ./bin/installdependencies.sh
    

    Failure output

    --------OS Information--------
    PRETTY_NAME="Ubuntu 22.04 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    UBUNTU_CODENAME=jammy
    ------------------------------
    The current OS is Debian based
    --------Debian Version--------
    bookworm/sid
    ------------------------------
    /usr/bin/apt-get
    Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
    Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
    Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
    Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package liblttng-ust0
    'apt-get' failed with exit code '0'
    Can't install dotnet core dependencies.
    You can manually install all required dependencies based on following documentation
    https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x
    

    The same steps will succeed if you use Ubuntu 20.04.

    docker run --rm -it ubuntu:20.04
    
  7. myoung34 commented on Jun 21, 2022

    @myoung34
    Author

    @chingc youre using 2.293.0 which was released 11 days ago.
    The fix for this (#1946) was made 6 days ago

    It's not been backported. You'll need to wait for a new version to come out to get a new installdependencies.sh or pull down the file directly at https://github.com/actions/runner/blob/main/src/Misc/layoutbin/installdependencies.sh

  8. myoung34 commented on Jun 22, 2022

    @myoung34
    Author

    @chingc v2.294.0 is out so this should be resolved now

  9. chingc commented on Jun 22, 2022

    @chingc

    @myoung34 I just tried the new version and no longer run into the issue. Thank you!

  10. AbdullahMansoor123 commented on Oct 18, 2022

    @AbdullahMansoor123

    Hi @chingc , how where you able to solve this issue, as i am still stuck in it.

  11. Bigpet commented on Jan 27, 2023

    @Bigpet

    Hi @chingc , how where you able to solve this issue, as i am still stuck in it.

    You need to install liblttng-ust1 with newer Ubuntu/Debian versions. The runner scripts should be able to use either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood-first-issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions