-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update CI workflows to run 'apt-get update' if installation of packages via 'apt-get install' failed, likely due to stale apt cache #4176
Conversation
Need to update the APT cache before installing to avoid: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/dh-autoreconf/dh-autoreconf_17_all.deb 503 Service Unavailable [IP: 52.252.75.106 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Unify the handling of "sudo apt[-get] install" to install all packages at once and retry if that failed after updating the cache.
@Flamefire is there a reason you're reverting the switch from |
Using |
At some point we were probably running with Ubuntu 22.04 (because we were using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sometimes we need to update the APT cache before installing to avoid: