Recently I noticed when updating that pacman doesn’t resume where I stopped it (a few minutes before) which is not nice since my internet is slow. After a lot of searching I found out every time I run pacman -Syu
it makes a new folder in /var/cache/pacman/pkg
named download-xxxxxx
where the x’s are randomized characters then it puts the downloaded .tar.zst files into that new folder ignoring the previous folder it created last time. My workaround was to move the contents of the previous download folder to it’s parent directory but what would be a permanent solution? I remember when this wasn’t the case so it must be a new “feature” I can hopefully disable.
I didn’t see any provisions in the code to change this behavior, and I could easily reproduce the issue by interrupting downloads half-way. And it truly sucks.
It looks like a possible regression while fixing a related issue, but I only had a very cursory look. Not passing blame, yet. :)
No issue or PR exists concerning this problem, yet. If you cannot be bothered to create one, I might do so myself this weekend.
Thank you for your time. I can open an issue myself if I didn’t find my answer here, I won’t pass the effort onto you.