CI: update potentially stale repo data before trying to install packages #233
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As per https://github.com/gridcf/gct/actions/runs/11596619308/job/32288101813?pr=232#step:4:155 there is currently an issue in the Rocky Linux 9 container that already showed two times now:
The repo data inside the container seems to be stale and not current with the actual repos for the package "python3-devel (at "3.9.18-3.el9_4.5")" and its dependencies. https://download.rockylinux.org/pub/rocky/9/AppStream/x86_64/os/Packages/p/ shows python3-devel at "3.9.18-3.el9_4.6" since "24-Oct-2024 18:30" making the tried-to-be-installed package out-of-date.
So let's update the repo data prior to installing packages.