Skip to content

ci: apt-get update before installing libcap-dev - #943

Merged
sonnyp merged 1 commit into
mainfrom
fix/ci-libcap-apt-update
Apr 27, 2026
Merged

sonnyp merged 1 commit into
mainfrom
fix/ci-libcap-apt-update

Conversation

@babo989

@babo989 babo989 commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

build-controller.yml runs sudo apt install -y libcap-dev without first refreshing the apt index. When Ubuntu rotates a security update for libcap2/libcap-dev (as happened with 2.66-5ubuntu2.2), the runner's cached index points to a .deb that's no longer on the mirror and the install fails with 404 Not Found → exit code 100.

Hit on PR #942 (run 24971308570) twice in a row.

Change

Prepend sudo apt-get update to the install step so the runner pulls the current package version every time.

Test plan

@sonnyp
sonnyp merged commit 8f94237 into main Apr 27, 2026
1 check passed
@sonnyp
sonnyp deleted the fix/ci-libcap-apt-update branch April 27, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants