FS#75250 - With XferCommand, pacman -Su redownloads all packages that are already fully downloaded in cache

Attached to Project: Pacman
Opened by CalimeroTeknik (Calimero) - Tuesday, 05 July 2022, 18:53 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 03 August 2022, 06:29 GMT
Task Type Bug Report
Category General
Status Assigned
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 6.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
When setting a custom XferCommand, one that can resume downloads even, pacman redownloads (from the start, entirely) all packages that are already fully downloaded in the cache.

This would seem to be happening because the internal downloader fetches the *.sig file, while XferCommand doesn't do that. (?)


Package version: pacman 6.0.1-5

Steps to reproduce:
Set a custom XferCommand, I used /usr/bin/curl -L -C - -f -o %o %u
Run pacman -Syu --downloadonly (you need to have some updates pending for this to work)
Run it again and see it redownload all the packages it downloaded previously. (can be repeated ad infinitum)

This task depends upon

Comment by Toolybird (Toolybird) - Wednesday, 03 August 2022, 06:28 GMT
Related ? FS#70607 FS#70608

Loading...