You are not logged in.
I have a terrible internet and it tends to fail very often. This means that some connections can be broken.
When I update my system sometimes I'm unable to download huge files because "operation too slow" error shows up. And I can't just use --disable-download-timeout because this will make it freeze at 0b/s at some point and there will be no way to restart the process.
However, I noticed that if the connection was interrupted, I can launch pacman -Syu again and it will continue from where it stopped.
Can Pacman do this automatically? Like, 3 retries to reconnect before assuming that the connection is dead.
Last edited by Seacat17 (2023-08-04 12:01:42)
Born to lose
Offline
In general the best solution is to provide a properly working internet connection. I do not know, what is your situation, but reliability issues in the underlying layer are causing a lot of trouble.
Other than that, there is XferCommand option in pacman.conf. You may set arbitrary executable as your download tool, including a script ensuring proper downloads. Since by default pacman is tightly bound to curl and some features depend on curl, you will lose them.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Well, my internet is something I can't make better.
But for some reason Pacman is able to reconnect and resume downloads, right? The only problem is that I have to do this manually. Which means I can't just type "sudo pacman -Syu" and leave my computer to update itself.
Born to lose
Offline
Do you have parallel downloads enabled (uncommented and set to a number above 1) in pacman.conf ?
Last edited by Lone_Wolf (2023-07-27 10:30:16)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Do you have parallel downloads enabled in pacman.conf ?
Nope. Because if one of them fails - others will fail too.
Born to lose
Offline
Maybe checkupdates from pacman-contrib can reduce the problem.
It allows to download updates outside of pacman.. https://man.archlinux.org/man/checkupdates.8 for details
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
****, I'M SORRY, I misstouched two times I hate myself
Born to lose
Offline
Well, my internet is something I can't make better.
For this reason I proposed an alternative solution.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline