You are not logged in.
The behavior of pacman has changed with version 7 when package downloads are interrupted with ^C or network failure. It's now downloading all packages again from the start rather than just the ones still pending when the interruption occurred. For those of us with terrible internet this is a little annoying. Downloaded files are going into a subdir of the cache dir that also isn't cleaned up on interruption. Can the old behavior be restored or are there any plans to improve this? I assume I can manually move completed downloads out of that temp folder on failure but it would be nice if pacman took care of that itself or resumed downloading using the previous cache subdir.
I'm not using DownloadUser and --disable-sandbox doesn't change this.
Thank you.
Last edited by lopster (2024-12-07 22:45:16)
Offline
I cannot confirm this behaviour. Mind posting your config? Perhaps permissions on the cache folder? Do you have any exotic mounts there?
Offline
Stopping with ^C is a known issue. Network failure should be fine.
Offline
Thank you for the replies!
I diff'd my config and the .pacnew and saw the DownloadUser was in there with no default. I put that in my config and now it works as expected even with ^C. When I originally read the announcement on this I thought manual intervention only applied to installs with local repos. I now see there's a sentence that might indicate the config should be merged.
Offline
That isn't something that needs an announcement, taking care of .pacnew files when pacman tells you about them is normal maintenance.
Offline
If missing, a required config value should be defaulted or cause an error.
Last edited by lopster (2024-12-07 23:39:02)
Offline