[pacman-dev] [PATCH] libalpm: Give -U downlaoads a random .part name
Allan McRae
allan at archlinux.org
Fri Sep 3 11:56:21 UTC 2021
On 12/7/21 2:28 am, morganamilo wrote:
> archweb's download links all end in /download. This causes all the temp
> files to be named download.part. With parallel downloads this causes
> multiple downloads to go to the same temp file and breaks.
>
> Note that the final file name is not changed so once the download is
> complete the download is given its proper name.
>
> Fixes FS#71464
So... I was going to accept this but:
$ sudo ./build/pacman -U
https://syd.mirror.rackspace.com/archlinux/core/os/x86_64/bash-5.1.008-1-x86_64.pkg.tar.zst
[sudo] password for allan:
:: Retrieving packages...
alpmtmp.pXDazo 1693.6 KiB 2.94 MiB/s 00:01
[######################] 100%
loading packages...
So this patch makes things worse for perfectly well defined URLs.
Updated patch that I find acceptable incoming.
More information about the pacman-dev
mailing list