From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1Eps0H-0007Kw-56 for garchives@archives.gentoo.org; Fri, 23 Dec 2005 18:50:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBNIlu5W010276; Fri, 23 Dec 2005 18:47:56 GMT Received: from smtp3.mail.easynet.fr (smarthost173.mail.easynet.fr [212.180.1.173]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBNIeUZD012583 for ; Fri, 23 Dec 2005 18:40:30 GMT Received: from easyconnect2121138-64.clients.easynet.fr ([212.11.38.64] helo=eusebe) by smtp3.mail.easynet.fr with esmtp (Exim 4.50) id 1EprqS-0006cC-5u for gentoo-dev@lists.gentoo.org; Fri, 23 Dec 2005 19:40:48 +0100 Date: Fri, 23 Dec 2005 19:42:38 +0100 From: Thomas de Grenier de Latour To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] pkg_{pre,post}inst misusage Message-ID: <20051223194238.3cbd8e64@eusebe> In-Reply-To: <200512240222.06574.jstubbs@gentoo.org> References: <200512231910.56795.jstubbs@gentoo.org> <200512232200.20217.jstubbs@gentoo.org> <20051223131325.GA12712@gentoo.org> <200512240222.06574.jstubbs@gentoo.org> Organization: Fasmz X-Mailer: Sylpheed-Claws 2.0.0-rc1 (GTK+ 2.8.9; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 1b9828d8-1fc7-464c-931a-684c59d79c1f X-Archives-Hash: cce9112861fde8bfdbc7c0f193071531 On Sat, 24 Dec 2005 02:22:06 +0900 Jason Stubbs wrote: > PackageA is installed, PackageB is installed, PackageB is > uninstalled -> PackageA is broken. Does this case exist? Found two on my system: * "/usr/lib/X11/app-defaults -> /etc/X11/app-defaults" is installed by several X11 apps (media-gfx/xfig, x11-misc/seyon, x11-misc/xvkbd, and i would not be surprised there are others) * "/usr/share/cups/model/foomatic-ppds -> /usr/share/ppd" is installed by both net-print/foomatic-db and net-print/hplip. Maybe this particular packages could be hacked to avoid need for the symlinks (or the symlinks should be installed only by some lower level, depended-on, packages?), but anyway it would be hard to do a strict sanity check of the whole tree. And letting that to "collision-protect" feature doesn't sound really like a short term solution neither. So, basically, i don't see how you could safely change this portage behavior atm (although i agree it would be a good thing once done). -- TGL. -- gentoo-dev@gentoo.org mailing list