Skip to content

Commit 80ee4c2

Browse files
committed
ci: apply workaround on correct workflow
Signed-off-by: MichaIng <micha@dietpi.com>
1 parent ca0d5fe commit 80ee4c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test_python.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
if: matrix.dist == 'ubuntu-24.04'
3333
run: |
3434
# https://github.com/actions/runner-images/pull/9956
35-
# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian.
36-
sudo apt-get autopurge needrestart python3-pip python3-setuptools python3-wheel
35+
sudo apt-get autopurge needrestart
3736
# error: externally-managed-environment
3837
echo -e '[global]\nbreak-system-packages=true' | sudo tee /etc/pip.conf
3938
- run: sudo apt-get -q update

.github/workflows/ubuntu_build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
if: matrix.dist == 'ubuntu-24.04'
2424
run: |
2525
# https://github.com/actions/runner-images/pull/9956
26-
sudo apt-get autopurge needrestart
26+
# ERROR: Cannot uninstall pip 24.0, RECORD file not found. Hint: The package was installed by debian.
27+
sudo apt-get autopurge needrestart python3-pip python3-setuptools python3-wheel
2728
# error: externally-managed-environment
2829
echo -e '[global]\nbreak-system-packages=true' | sudo tee /etc/pip.conf
2930
- run: sudo apt-get -q update

0 commit comments

Comments
 (0)