Documentation updates around liblttng-ust0
myoung34 opened this issue ยท 10 comments
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
Ubuntu 22.04 Jammy is out as well and liblttng-ust0
is being attempted to be installed in installdependencies.sh.
For now I have to switch to an older distro because of this.
Likewise
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.
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
@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 I just tried the new version and no longer run into the issue. Thank you!
Hi @chingc , how where you able to solve this issue, as i am still stuck in it.