Skip to content
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

Force Kali Linux to use a single APT mirror for install and update #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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