Skip to content

Commit

Permalink
ci: fix Ubuntu Noble test, failing on firefox package upgrade
Browse files Browse the repository at this point in the history
Ubuntu Noble Firefox is now forefully installed as snap, which fails to upgrade/install in the GitHub runner. Purge it, since who the hack requries Firefox in an actions runner ...

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng committed Oct 9, 2024
1 parent 068dfaa commit e27af77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
run: |
# https://github.com/actions/runner-images/pull/9956
# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian.
sudo apt-get autopurge needrestart python3-pip python3-setuptools python3-wheel
# new firefox package pre-installation script subprocess returned error exit status 1
sudo apt-get autopurge needrestart python3-pip python3-setuptools python3-wheel firefox
# error: externally-managed-environment
echo -e '[global]\nbreak-system-packages=true' | sudo tee /etc/pip.conf
- run: sudo apt-get -q update
Expand Down

0 comments on commit e27af77

Please sign in to comment.