On 23/10/10 05:28AM, Genes Lists wrote:
> On 10/10/23 02:41, Erich Eckner wrote:
> > 
> > I have two packages, A and B, which both provide the same file X.
> ...
> One possibility is to simply change the unofficial one to install in
> /usr/local (all of it /usr/local/etc, /usr/local/bin, /usr/local/lib,
> /usr/local/var and so on. That way nothing will conflict.
> 

Packages should _never_ install to /usr/local as per the Arch Linux
Packaging Guidelines[0]!

In general conflicts=(...) or rename is the way to go, usually the
problem is mostly present for binaries and then renaming them is the way
to go, see [1][2] for an example.

I am also happy to help if you post some more detailed information!

best,
gromit

[0] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette
[1] 
https://gitlab.archlinux.org/archlinux/packaging/packages/minio-client/-/blob/main/PKGBUILD?ref_type=heads#L38
[2] 
https://gitlab.archlinux.org/archlinux/packaging/packages/minio-client/-/blob/main/minio-client.install?ref_type=heads#L2

Attachment: signature.asc
Description: PGP signature

Reply via email to