Skip to content

Conversation

@alexleigh
Copy link

This avoids an issue where apt-get update and apt-get install commands hit different mirrors with different versions of packages, causing install to fail.

This should fix the DNS workflow for acmesh-official/acme.sh#4542

…get update and apt-get install commands hit different mirrors with different versions of packages, causing install to fail.
@alexleigh
Copy link
Author

Kali Linux repos have since updated and they are now consistent with each other, so this problem no longer appears. However, this change can still be useful in case it happens again in the future.

The problem arises when the Kali mirror chosen by Github actions for apt-get update has older versions of packages that have been deleted from other mirrors. apt-get install chooses one of these other mirrors to download the packages needed by the test workflow, which then fails because those packages are gone. Forcing a single mirror as the apt source avoids this issue.

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.

1 participant