Config script tries to install non-existent packages on latest Ubuntu docker image
Describe the bug
I use self-hosted runner configuration. I've created simple docker image, which runs ./bin/installdependencies.sh to install all required dependencies. Script runs, but apt throws tons of errors about non-existent packages. Log:
--------OS Information--------
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
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=noble
LOGO=ubuntu-logo
------------------------------
The current OS is Debian based
--------Debian Version--------
trixie/sid
------------------------------
/usr/bin/apt-get
Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Fetched 378 kB in 1s (268 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libkrb5-3 is already the newest version (1.20.1-6ubuntu2.2).
libkrb5-3 set to manually installed.
zlib1g is already the newest version (1:1.3.dfsg-3.1ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
liblttng-ust-common1t64 liblttng-ust-ctl5t64 libnuma1
The following NEW packages will be installed:
liblttng-ust-common1t64 liblttng-ust-ctl5t64 liblttng-ust1t64 libnuma1
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 310 kB of archives.
After this operation, 1255 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 libnuma1 amd64 2.0.18-1build1 [23.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble/main amd64 liblttng-ust-common1t64 amd64 2.13.7-1.1ubuntu2 [27.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble/main amd64 liblttng-ust-ctl5t64 amd64 2.13.7-1.1ubuntu2 [74.9 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble/main amd64 liblttng-ust1t64 amd64 2.13.7-1.1ubuntu2 [185 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 310 kB in 1s (448 kB/s)
Selecting previously unselected package libnuma1:amd64.
(Reading database ... 17647 files and directories currently installed.)
Preparing to unpack .../libnuma1_2.0.18-1build1_amd64.deb ...
Unpacking libnuma1:amd64 (2.0.18-1build1) ...
Selecting previously unselected package liblttng-ust-common1t64:amd64.
Preparing to unpack .../liblttng-ust-common1t64_2.13.7-1.1ubuntu2_amd64.deb ...
Unpacking liblttng-ust-common1t64:amd64 (2.13.7-1.1ubuntu2) ...
Selecting previously unselected package liblttng-ust-ctl5t64:amd64.
Preparing to unpack .../liblttng-ust-ctl5t64_2.13.7-1.1ubuntu2_amd64.deb ...
Unpacking liblttng-ust-ctl5t64:amd64 (2.13.7-1.1ubuntu2) ...
Selecting previously unselected package liblttng-ust1t64:amd64.
Preparing to unpack .../liblttng-ust1t64_2.13.7-1.1ubuntu2_amd64.deb ...
Unpacking liblttng-ust1t64:amd64 (2.13.7-1.1ubuntu2) ...
Setting up liblttng-ust-common1t64:amd64 (2.13.7-1.1ubuntu2) ...
Setting up libnuma1:amd64 (2.0.18-1build1) ...
Setting up liblttng-ust-ctl5t64:amd64 (2.13.7-1.1ubuntu2) ...
Setting up liblttng-ust1t64:amd64 (2.13.7-1.1ubuntu2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libssl1.1$
E: Couldn't find any package by glob 'libssl1.1$'
E: Couldn't find any package by regex 'libssl1.1$'
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libssl1.0.2$
E: Couldn't find any package by glob 'libssl1.0.2$'
E: Couldn't find any package by regex 'libssl1.0.2$'
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libssl1.0.0$
E: Couldn't find any package by glob 'libssl1.0.0$'
E: Couldn't find any package by regex 'libssl1.0.0$'
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu72
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu71
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu70
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu69
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu68
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu67
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu66
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu65
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu63
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu60
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu57
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu55
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libicu52
I solved the issue by installing libicu74, libicu-dev and libssl-dev.
To Reproduce Providing minimal Dockerfile:
FROM ubuntu:latest
RUN apt update && apt install curl -y
RUN useradd -m sampleuser -s /bin/bash
WORKDIR /home/hyperwin
RUN curl -o actions-runner-linux-x64-2.321.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.321.0/actions-runner-linux-x64-2.321.0.tar.gz
RUN tar xzf ./actions-runner-linux-x64-2.321.0.tar.gz
RUN ./bin/installdependencies.sh
Expected behavior It was supposed to install all required dependencies after defining current OS.
Runner Version and Platform
Version linux-x64-2.321.0
ubuntu:latest LTS docker image
#3602 ### @cdb [ Duplicate of #](url)
Probably need to add libssl3t64 to here:
https://github.com/actions/runner/blob/6654f6b3ded8463331fb0c96a73b0435775c7c4e/src/Misc/layoutbin/installdependencies.sh#L105
and libicu74 to here:
https://github.com/actions/runner/blob/6654f6b3ded8463331fb0c96a73b0435775c7c4e/src/Misc/layoutbin/installdependencies.sh#L113
thx @Tosainu
I had same problem for runner version 2.325.0