[pacman-dev] [Proposal] Hold the first working mirror when downloading

Allan McRae allan at archlinux.org
Sun Mar 21 21:57:42 UTC 2021


On 21/3/21 11:45 pm, Eli Schwartz wrote:
> On 3/21/21 9:39 AM, Marco Rubin via pacman-dev wrote:
>> Hello, I'd like to propose a change to pacman, but I don't know if
>> someone is already working on it for the next release. I think it
>> would be useful if pacman could hold the first working mirror when
>> downloading updates. Yesterday I was upgrading all my packages and,
>> for some reason, the first five mirrors timed out after a few
>> seconds, so every time pacman was downloading a package, it checked
>> all the mirrors from the beginning until it found one where to grab
>> the updated package. I had many old packages so this process quickly
>> became a little frustrating, and to me it would have been faster if
>> it remembered the first working mirror instead of checking all of
>> them every time.
> 
> 
> Can you try out the 6.0.0 alpha release?
> http://allanmcrae.com/2020/12/pacman-6-0-0alpha1/
> 

I think this was more asking to drop mirrors that are failing, like the
patch Andrew recently submitted.  The 6.0 alpha pacman will just start
many downloads at once and hide this delay (somewhat).

Allan


More information about the pacman-dev mailing list