Skip to content

ci: run apt-get update before installing packages - #1230

Merged
fklassen merged 1 commit into
appneta:4.6.5from
tcpreplay-dev:ci-apt-update
Nov 29, 2026
Merged

fklassen merged 1 commit into
appneta:4.6.5from
tcpreplay-dev:ci-apt-update

Conversation

@tcpreplay-dev

Copy link
Copy Markdown
Contributor

Every Linux CI job (e.g. on #1229) fails in Install prereqs with 404 Not Found for libpcap-dev 1.10.6-1ubuntu1.1. The runner image's package index lists a version the mirrors no longer carry, and no workflow refreshes the index before installing. The macOS jobs were then cancelled by matrix fail-fast.

This change runs apt-get update before each apt-get install in github-actions-ci.yml, c-linter.yml and codeql.yml. The docs workflows already did this. It also switches apt to apt-get, since apt warns that it has no stable CLI for scripts.

The runner image's package index can lag the Ubuntu mirrors; once a
listed version is superseded (libpcap-dev 1.10.6-1ubuntu1.1 here) the
install 404s and every Linux job fails before building.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fklassen
fklassen merged commit 054bfe9 into appneta:4.6.5 Nov 29, 2026
7 checks passed
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