Make Tails Upgrader resilient to broken mirrors
Originally created by @sajolida on #17615 (Redmine)
Some implementation options from #15875 (closed), such as “C + fallback DNS mirrors pool” would do the job wrt. a mirror that’s entirely broken (which was the initial motivation behind this issue) and possibly even wrt. a mirror that’s flaky.
Original idea
What happens currently when trying to download an IUK from a broken mirror? Could we do anything more to prevent broken downloads by testing the mirror first?
My Perl skills are very limited but, at first sight, I couldn’t spot anything in the code that does this :)
Could we try downloading https://mirrors.edge.kernel.org/tails/project/trace from the candidate mirror before deciding to use it? This relates to #15875 (closed) but wouldn’t imply resuming the download of the IUK after it started.
Parent Task: #15750 (closed)
Related issues
- Related to #15875 (closed)