Open laurelmay opened 3 years ago
This is in draft until I have a chance to test it.
Validated on Ubuntu 20.04 ARM64
I think the apt ignore failures was put in to handle when the CS mirror is down/unavailable. I tried putting mirror.cs.jmu.edu in /etc/hosts to simulate a failure, and Ansible refuses to proceed, even though the upstream mirror is a very viable choice.
So to be clear, the apt cache is still being properly updated for the upstream Mint/Ubuntu repos? If mirror.cs.jmu.edu
was down, would an install still successfully pull from the upstream repo? Basically, are we actually helping things along here or are we delaying a failure?
Confirmed, an installation will complete as long as there's a viable mirror. I'd prefer we maintain this behavior.
mirror://
mostly works except for a message in mintupdate
that the mirror is unreachable. https://github.com/linuxmint/mintupdate/pull/701 exists to try to help with that but we'll likely either need another solution or to just hold off until we can confirm better compatibility with mintupdate
.
Alright and I think this one is actually ready for review too. Tested by just blocking 134.126.0.0/16. It took a second to timeout but it eventually figured itself out, ignored the "down" mirror, and proceeded. No complaints from mintupdate on config format or anything like that.
This uses the apt lock workaround to replace an ignore_errors on update.
Closes: #446