Private
Public Access
1
0

fix(ci): add apt-get -f install to resolve broken runner dependencies
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 2s
CI/CD Pipeline / Clippy Lints (push) Failing after 36s
CI/CD Pipeline / Unit Tests (push) Failing after 48s
CI/CD Pipeline / Build Debian Package (push) Has been skipped
CI/CD Pipeline / Build Debian Package (Ubuntu 22.04) (push) Has been skipped
CI/CD Pipeline / Build RPM Package (push) Has been skipped
CI/CD Pipeline / Build Alpine Package (push) Has been skipped
CI/CD Pipeline / Build Arch Package (push) Has been skipped
CI/CD Pipeline / Security Audit (push) Successful in 4s

Runners may have broken apt state from partial upgrades (e.g., openssh-client
version mismatch). Adding apt-get -f install before build deps ensures CI
works regardless of runner package state.
This commit is contained in:
2026-05-03 00:31:13 +00:00
parent 36890f65b1
commit 6d177c81a4
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -48,6 +48,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get -f install -y
sudo apt-get install -y build-essential libsystemd-dev pkg-config
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
@ -69,6 +70,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get -f install -y
sudo apt-get install -y build-essential libsystemd-dev pkg-config
- name: Run tests
run: cargo test --all-features
@ -90,6 +92,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get -f install -y
sudo apt-get install -y build-essential libsystemd-dev pkg-config
- name: Run cargo-audit
run: |
@ -114,6 +117,7 @@ jobs:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get -f install -y
sudo apt-get install -y build-essential debhelper pkg-config libsystemd-dev
- name: Build Debian package
run: |
@ -146,6 +150,7 @@ jobs:
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get -f install -y
sudo apt-get install -y build-essential debhelper pkg-config libsystemd-dev
- name: Build Debian package
run: |