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

Documentation updates around liblttng-ust0 #1584

Closed
myoung34 opened this issue Jan 4, 2022 · 10 comments
Closed

Documentation updates around liblttng-ust0 #1584

myoung34 opened this issue Jan 4, 2022 · 10 comments
Labels
enhancement New feature or request good-first-issue

Comments

@myoung34
Copy link

myoung34 commented Jan 4, 2022

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

@freef4ll
Copy link

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

@kaiwegner
Copy link

kaiwegner commented May 11, 2022

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

@nyarly
Copy link

nyarly commented May 13, 2022

Likewise

@WoodyWoodsta
Copy link

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.

@chingc
Copy link

chingc commented Jun 21, 2022

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

@myoung34
Copy link
Author

myoung34 commented Jun 21, 2022

@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

@myoung34
Copy link
Author

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

myoung34 added a commit to myoung34/docker-github-actions-runner that referenced this issue Jun 22, 2022
@chingc
Copy link

chingc commented Jun 22, 2022

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

@AbdullahMansoor123
Copy link

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

@Bigpet
Copy link

Bigpet commented Jan 27, 2023

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
Labels
enhancement New feature or request good-first-issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants