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

Xiretza xiretza+archml at xiretza.xyz
Sun Jan 9 17:39:46 UTC 2022


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


More information about the pacman-dev mailing list