Skip to content

Conversation

wdconinc
Copy link
Collaborator

This PR fixes #43 by clearing the cache and retrying when cvmfs fails to install.

@wdconinc wdconinc linked an issue Aug 25, 2025 that may be closed by this pull request
sudo rm -rf /var/cache/apt/archives
sudo rm -rf /var/cache/apt/lists
sudo apt-get -q update
sudo apt-get -q -y install cvmfs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is unlikely to fail again, but you should probably check anyway given why you are introducing this change

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I just don't think this PR is the right solution. If you look at your original failing pipeline: https://github.com/DUNE-DAQ/daq-release/actions/runs/16244930712/job/45866367226#step:3:58, you'll see that it is already running in bash -e, so doing something like if [ $? -ne 0 ] is not going to catch this since we probably don't even return a failing exit code from apt-get install (or we would have bailed out earlier).

I have been trying to find some way to trigger this issue (GHA or locally), but no luck so far.

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.

Apt cache issues following ubuntu-latest update
2 participants