You are not logged in.
I have a very bad internet connection at my current location, because of that, I can't just let pacman run and update everything at night, because it'll keep failing due to one or more of the packages getting to less than a byte per second. What I'm wondering, is if I could run the update command in pacman, but instead of having the default 5 or so packages downloading at a time, just download one at a time.
Offline
open /etc/pacman.conf as sudo and check row 37 in my case
ParallelDownloads = 5
Archi3
Offline
open /etc/pacman.conf as sudo and check row 37 in my case
ParallelDownloads = 5
Thanks so much for the quick response, this method works as I imagined perfectly!
Offline
I doubt that it's parallel downloads that are actually the problem, but rather that (at least) one of your mirrors is poorly chosen. If you set ParallelDownloads to 1 only the first mirror in your mirrorlist is used (assuming it works).
If I were you, I'd dig a little deeper to see if there are at least 2 or 3 good mirrors you can use. If so, set ParallelDownloads to 2 or 3.
Also note that if this has to run overnight to do the downloads, you might be interested in using the -w flag for pacman so it only downloads everything. Then in the morning, you can run the actual upgrade (which will be quick) so you can see any important message from pacman or answer any prompts. Just note that running `pacman -Syuw` and failing to later run a `pacman -Su` before installing new packages could result in a partial upgrade. There are ways to avoid this too by using checkupdates and related tools, but if it were me I'd keep it simple with `pacman -Syuw` (perhaps in a loop until it exits successfully or reaches some maximum loop count) overnight, then just remember to `pacman -Su` in the morning.
Last edited by Trilby (2022-11-06 16:47:24)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline