Skip to content
Discussion options

You must be logged in to vote

Hey @mia-trilo,

It looks like your issue might be caused by outdated or missing package information in the APT cache. This can often happen in GitHub Actions when the image has recently changed (e.g., to a new Ubuntu release like noble) and the package mirrors haven’t fully caught up yet.

Possible Solutions

1. Run  `sudo apt-get update` before installing packages
2.  Use a stable or latest Ubuntu version in Github Actions `runs-on: ubuntu-22.04  # or ubuntu-latest`
3. Optional: Override the APT mirrors manually (If you suspect mirror issues, you can update /etc/apt/sources.list with working mirrors (e.g., from a local mirror or a more stable one).) 

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mia-trilo
Comment options

@users-pc
Comment options

Answer selected by mia-trilo

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Actions Build, test, and automate your deployment pipeline with world-class CI/CD
3 participants