[pacman-dev] [PATCH] libalpm: fix alpm_fetch_pkgurl with a fetch callback

Andrew Gregory andrew.gregory.8 at gmail.com
Sun May 2 22:24:39 UTC 2021

On 05/02/21 at 09:55pm, Guillaume Benoit wrote:
> Yes, with pacman 5, fetching a URL with XferCommand doesn't
> work.With pacman 6, it doesn't work with the current code but it
> works with this patch,except for the special URLs given by Andrew
> Gregory.I can try to provide a different patch that pass the full
> payload to the front-endbut it can't help making pacman 6 correctly
> fetching a URL with XferCommand when thefilename can be guessed from
> the URL.

To be clear, when I said this patch is broken, I meant it actively
breaks downloads that work now.  This code runs regardless of which
downloader is used and the internal downloader handles those urls just

More information about the pacman-dev mailing list