From 19658e7ed967597cf32655bf3b2bdb82a0bc21d9 Mon Sep 17 00:00:00 2001 From: Ryan Manuel Date: Thu, 12 Jun 2025 11:42:37 -0500 Subject: [PATCH 1/2] try to fix build --- .circleci/workflows.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml index 203656fcb378..94208e33aa64 100644 --- a/.circleci/workflows.yml +++ b/.circleci/workflows.yml @@ -598,6 +598,10 @@ commands: # latest can also be used here default: *firefox-stable-version steps: + - run: + name: Update APT + command: | + sudo apt-get update - when: condition: not: From ec5c9ce02cbd080c18112864d01cef03dbf8eb08 Mon Sep 17 00:00:00 2001 From: Ryan Manuel Date: Thu, 12 Jun 2025 11:56:36 -0500 Subject: [PATCH 2/2] try to fix build --- .circleci/workflows.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml index 94208e33aa64..b84e5033c40b 100644 --- a/.circleci/workflows.yml +++ b/.circleci/workflows.yml @@ -601,7 +601,14 @@ commands: - run: name: Update APT command: | - sudo apt-get update + if [[ $PLATFORM == 'linux' ]]; then + # on Arm, CI runs as non-root, on x64 CI runs as root but there is no sudo binary + if [[ `whoami` == 'root' ]]; then + apt-get update + else + sudo apt-get update + fi + fi - when: condition: not: