From 83c70cb5e111e1d6ac4bd2962c0bc4235508a83e Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Wed, 4 Oct 2023 16:53:04 -0400 Subject: [PATCH] [ci] Skip Linux apt upgrade step (#8396) Package update attempts started failing recently on our Linux lane: Setting up grub-efi-amd64-signed (1.187.6~20.04.1+2.06-2ubuntu14.4) ... mount: /var/lib/grub/esp: special device /dev/disk/by-id/scsi-14d5346542020202075f68e4df928b946a6a92fab5bc044c1-part15 does not exist. dpkg: error processing package grub-efi-amd64-signed (--configure): installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32 Our base Linux OS image is updated regularly by 1ES, so we shouldn't need to update during every CI run. --- build-tools/automation/yaml-templates/setup-ubuntu.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/build-tools/automation/yaml-templates/setup-ubuntu.yaml b/build-tools/automation/yaml-templates/setup-ubuntu.yaml index c18d1340df5..4dd8d7062b5 100644 --- a/build-tools/automation/yaml-templates/setup-ubuntu.yaml +++ b/build-tools/automation/yaml-templates/setup-ubuntu.yaml @@ -13,9 +13,6 @@ steps: sudo apt install -y --no-install-recommends mono-complete nuget msbuild displayName: install mono preview -- script: sudo apt upgrade - displayName: update packages - - template: use-dot-net.yaml parameters: remove_dotnet: true