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

Config script tries to install non-existent packages on latest Ubuntu docker image #3603

Open
HyperWinX opened this issue Dec 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@HyperWinX
Copy link

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

@HyperWinX HyperWinX added the bug Something isn't working label Dec 2, 2024
@Coinsintegrity
Copy link

#3602 ### @cdb [ Duplicate of #](url)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants