-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Description
There are two issues with the default APT (package manager) configuration on the ubuntu-slim runner, compared to the standard ubuntu-24.04:
-
It pulls from the global
archive.ubuntu.comserver instead of the Azure-localazure.archive.ubuntu.com; -
The APT list files are not pre-populated in the image. That is, if I run e.g.
sudo apt-get install tcsh, I get the errorE: Unable to locate package tcsh. I have to runsudo apt-get updateto download the package lists first. From my runs, I see this downloads about 43 MB of data, which is not insignificant when everyone has to do it to install packages.
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 22.04
- Ubuntu 24.04
- Ubuntu Slim
- macOS 13
- macOS 13 Arm64
- macOS 14
- macOS 14 Arm64
- macOS 15
- macOS 15 Arm64
- macOS 26 Arm64
- Windows Server 2019
- Windows Server 2022
- Windows Server 2025
Image version and build link
Current runner version: '2.329.0'
Runner Image Provisioner
Hosted Compute Agent
Version: 20251202.455
Commit: 6c10caca4910e198df60de23adf20ad317c474e3
Build Date: 2025-12-02T15:56:59Z
Worker ID: {54b36ee2-a693-44f1-962f-4b426472c8a5}
VM Image
- OS: Linux (x64)
- Source: Docker
- Name: ubuntu:24.04
- Version: 20251202.31.1
Is it regression?
No
Expected behavior
Same as ubuntu-24.04, which uses the Azure mirror, and has pre-populated APT lists.
Actual behavior
Uses global mirror, no pre-populated APT lists :-(
Repro steps
(see description)