diff --git a/images/ubuntu/scripts/build/configure-apt.sh b/images/ubuntu/scripts/build/configure-apt.sh index b36e4762b7b9..1048171031ab 100644 --- a/images/ubuntu/scripts/build/configure-apt.sh +++ b/images/ubuntu/scripts/build/configure-apt.sh @@ -37,6 +37,9 @@ EOF # Uninstall unattended-upgrades apt-get purge unattended-upgrades +# Uninstall needrestart: https://github.com/actions/runner-images/issues/9937 +is_ubuntu24 && apt-get purge needrestart + echo 'APT sources' cat /etc/apt/sources.list