Why are the apt sources removed from /etc/apt/sources.list.d/ ? #8241
Unanswered
michaelCTS
asked this question in
General questions
Replies: 1 comment 2 replies
-
Hello @michaelCTS .During the image generation process, several sources are added to the apt repositories list. The main reason for removing them afterwards is to avoid various conflicts when installing/updating subsequent software. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This impacts things like installing google cloud SDK components.
apt-get update && apt-get install -yqq google-cloud-cli-datastore-emulator
fails because the package doesn't exist as the sources were deletedhttps://github.com/actions/runner-images/blob/ubuntu22/20230821.1/images/linux/scripts/installers/google-cloud-sdk.sh#L16C4-L17
The repo url is then stored in a file https://github.com/actions/runner-images/blob/ubuntu22/20230821.1/images/linux/scripts/installers/google-cloud-sdk.sh#L20
that doesn't seem to be used only written to (according to github's search.
What gives?
Beta Was this translation helpful? Give feedback.
All reactions