[PATCH] libalpm: don't download files from local servers

Lone_Wolf lone_wolf at klaas-de-kat.nl
Sun Jan 9 23:34:09 UTC 2022


On 09-01-2022 18:39, Xiretza wrote:
>
> On 09/01/2022 18.04, morganamilo wrote:
>> This causes file:// servers to be treated as if they were cache dirs
>> when checking if a package needs to be downloaded/read.
>>
>> This stops packages being duplicated any time pacman "downloads"
>> a package from a local repository.
>
> Hm, I've always liked that behaviour, since it allows me to keep my 
> local mirror thin (at 1-2 package revisions), while my cachedir 
> contains older versions of only the packages I actually have/had 
> installed. I realize this might be a bit "This breaks my workflow!", 
> but I thought I'd at least bring it up :)
>
> -xiretza


Similar for me, my local repo only holds the last version of packages 
and pacman cache is an excellent archive for older ones.

Guess I have to switch to a ftp server running on localhost (using bind 
mounts to link to the 'real' local repo ?) once this gets implemented.


Lone_Wolf



More information about the pacman-dev mailing list