FS#70607 - XferCommand breaks -U

Attached to Project: Pacman
Opened by Andrew Gregory (andrewgregory) - Tuesday, 27 April 2021, 02:17 GMT
Last edited by Allan McRae (Allan) - Thursday, 20 May 2021, 12:46 GMT
Task Type Bug Report
Category Backend/Core
Status Unconfirmed
Assigned To Allan McRae (Allan)
Anatol Pomozov (anatolik)
Architecture All
Severity Medium
Priority Normal
Reported Version git
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Summary and Info:
Using XferCommand with -U successfully downloads the file, but alpm can't find it in the cache.

Steps to Reproduce:
XferCommand = /usr/bin/curl -L -C - -f -o %o %u

sudo ./build/pacman -U https://arch.hu.fo/archlinux/core/os/x86_64/pacman-5.2.2-3-x86_64.pkg.tar.zst
:: Retrieving packages...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 838k 100 838k 0 0 4791k 0 --:--:-- --:--:-- --:--:-- 4791k
warning: download completed successfully but no file in the cache
This task depends upon

Loading...