[pacman-dev] [Proposal] Hold the first working mirror when downloading
Eli Schwartz
eschwartz at archlinux.org
Mon Mar 22 01:15:12 UTC 2021
On 3/21/21 5:57 PM, Allan McRae wrote:
> 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).
That's good too, but given the question seemed to be mostly about
perceived delay I figured an answer that goes quite a long way toward
solving it today would probably be useful.
--
Eli Schwartz
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20210321/1e810311/attachment.sig>
More information about the pacman-dev
mailing list