Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to solve file collision as a package maintainer
Date: Fri, 09 Aug 2019 10:54:56
Message-Id: cb7e0185-f555-1e62-e1cc-60c78b171c1a@gentoo.org
In Reply to: [gentoo-user] How to solve file collision as a package maintainer by YUE Daian
1 On 8/8/19 11:05 PM, YUE Daian wrote:
2 >
3 > It seems that some files (e.g. /usr/bin/ros) are installed by both
4 > dev-lisp/roswell and net-libs/librouteros.
5 >
6 > ...
7 >
8 > Could anyone please give me any clues about how to solve this kind of
9 > problem?
10
11 The best solution is if you can convince one of the upstream projects to
12 change the name of that file. For example, to /usr/bin/roswell or
13 /usr/bin/routeros. All you can do is explain the reality: some other
14 package already creates that file, and if they keep the names as they
15 are, users can't install both of them at the same time.
16
17 If both projects refuse to rename the file, then you have two options.
18 You can rename one of the files in Gentoo, or you can add a blocker
19 dependency to ensure that both packages can't be installed at the same time.

Replies

Subject Author
Re: [gentoo-user] How to solve file collision as a package maintainer YUE Daian <sheepduke@×××××.com>