Gentoo Archives: gentoo-dev

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Handling multiple packages providing the same convenience symlink
Date: Thu, 04 Nov 2004 17:11:08
Message-Id: 418A5FEB.4090605@be.a.fool.and.quote.the.message-id.generated.at.email-server.info
In Reply to: [gentoo-dev] Handling multiple packages providing the same convenience symlink by Ciaran McCreesh
1 Hi!
2
3 Ciaran McCreesh wrote:
4
5 > via the traditional names. Suddenly we have a problem -- what if a user
6 > has more than one of these packages installed?
7
8 I found this thread because of your reference in
9 http://bugs.gentoo.org/show_bug.cgi?id=69852
10
11 As I wrote in that bug, I like the Debian way very much. Debian
12 uses "update-alternatives" (u-a) to resolve these issues. There, /usr/bin/vi
13 is a symlink to /etc/alternatives/vi is a symlink to /usr/bin/vi.vim.
14 u-a allows to "associate" a number of files to one "alternative".
15 For example, it "might" make sense to also have a /usr/share/man/man1/vi.1
16 to always point to the correct man page. The user/admin can then
17 easily change all the associated files at once with one simple call;
18 something like "update-alternatives --config vi".
19
20 It be pretty great if something like this could be incorporated
21 in Gentoo.
22
23 Alexander Skwar
24 --
25 Infinity attracts us like a floodlight in the night, blinding us to the
26 excesses it can inflict upon the finite.
27
28 -- Meditations from Bifrost Eyrie, Buddislamic Text
29 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
30
31
32 --
33 gentoo-dev@g.o mailing list