From 4276d3721e4bc4d8d4966b95c106fab1517f188f Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 4 May 2026 12:58:33 +0100 Subject: [PATCH] semaphore: stop deleting all apt sources The image configuration was changed and the main sources are now in a drop-in apt sources files too, so deleting the whole drop-in directory breaks installing packages. Just delete the disabled ones and chrome. --- .semaphore/semaphore-runner.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore-runner.sh b/.semaphore/semaphore-runner.sh index 171cac8e1c7..22dc9fc4ffd 100755 --- a/.semaphore/semaphore-runner.sh +++ b/.semaphore/semaphore-runner.sh @@ -68,8 +68,8 @@ EOF for phase in "${PHASES[@]}"; do case "$phase" in SETUP) - # remove semaphore repos, some of them don't work and cause error messages - sudo rm -rf /etc/apt/sources.list.d/* + # remove chrome repo, we don't need it + sudo rm -rf /etc/apt/sources.list.d/google-chrome.sources # enable backports for latest LXC echo "deb http://archive.ubuntu.com/ubuntu $UBUNTU_RELEASE-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/backports.list