Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] pkg_{pre,post}inst misusage
Date: Fri, 23 Dec 2005 18:50:57
Message-Id: 20051223194238.3cbd8e64@eusebe
In Reply to: Re: [gentoo-dev] pkg_{pre,post}inst misusage by Jason Stubbs
1 On Sat, 24 Dec 2005 02:22:06 +0900
2 Jason Stubbs <jstubbs@g.o> wrote:
3
4 > PackageA is installed, PackageB is installed, PackageB is
5 > uninstalled -> PackageA is broken. Does this case exist?
6
7 Found two on my system:
8
9 * "/usr/lib/X11/app-defaults -> /etc/X11/app-defaults" is
10 installed by several X11 apps (media-gfx/xfig, x11-misc/seyon,
11 x11-misc/xvkbd, and i would not be surprised there are others)
12
13 * "/usr/share/cups/model/foomatic-ppds -> /usr/share/ppd" is
14 installed by both net-print/foomatic-db and net-print/hplip.
15
16 Maybe this particular packages could be hacked to avoid need for
17 the symlinks (or the symlinks should be installed only by some
18 lower level, depended-on, packages?), but anyway it would be hard
19 to do a strict sanity check of the whole tree. And letting that to
20 "collision-protect" feature doesn't sound really like a short term
21 solution neither. So, basically, i don't see how you could safely
22 change this portage behavior atm (although i agree it would be a
23 good thing once done).
24
25 --
26 TGL.
27 --
28 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] pkg_{pre,post}inst misusage Jason Stubbs <jstubbs@g.o>