Gentoo Archives: gentoo-user

From: YUE Daian <sheepduke@×××××.com>
To: Michael Orlitzky <mjo@g.o>, gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to solve file collision as a package maintainer
Date: Fri, 09 Aug 2019 15:37:23
Message-Id: 87ftmagxk1.fsf@home.i-did-not-set--mail-host-address--so-tickle-me
In Reply to: Re: [gentoo-user] How to solve file collision as a package maintainer by Michael Orlitzky
1 On 2019-08-09 06:54, Michael Orlitzky <mjo@g.o> wrote:
2 > On 8/8/19 11:05 PM, YUE Daian wrote:
3 >>
4 >> It seems that some files (e.g. /usr/bin/ros) are installed by both
5 >> dev-lisp/roswell and net-libs/librouteros.
6 >>
7 >> ...
8 >>
9 >> Could anyone please give me any clues about how to solve this kind of
10 >> problem?
11 >
12 > The best solution is if you can convince one of the upstream projects to
13 > change the name of that file. For example, to /usr/bin/roswell or
14 > /usr/bin/routeros. All you can do is explain the reality: some other
15 > package already creates that file, and if they keep the names as they
16 > are, users can't install both of them at the same time.
17 >
18 > If both projects refuse to rename the file, then you have two options.
19 > You can rename one of the files in Gentoo, or you can add a blocker
20 > dependency to ensure that both packages can't be installed at the same time.
21
22 To be honest, it would be "unfair" to force one of the two packages to
23 change its name. I will talk with them and see.
24
25 Thank you so much!