Mail archive

Re: [alpine-devel] apk and libraries that optionally replace others

From: William Pitcock <>
Date: Wed, 16 May 2018 16:12:06 -0500


On Wed, May 16, 2018 at 3:55 PM, Oliver Smith
<> wrote:
> Thanks for the quick and detailed reply! With the solution you have
> described, one can reliably make one package always get installed
> instead of the other one. I have tried it and it works.
> But our use case is slightly different: not all devices need
> libdrm-tegra, so we would like all non-tegra devices to depend on the
> regular libdrm package. (If we add a higher provider_priority to
> libdrm-tegra, then *all* devices will use libdrm-tegra.)

Set the higher priority on libdrm instead. It is just the inverse use
case, so use the same technique but backwards.


Received on Wed May 16 2018 - 16:12:06 UTC