[pacman-dev] [Proposal] Hold the first working mirror when downloading
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.
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/ -- Eli Schwartz Bug Wrangler and Trusted User
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
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
participants (3)
-
Allan McRae
-
Eli Schwartz
-
Marco Rubin