From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 915 invoked by uid 1002); 27 Aug 2003 08:38:47 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 22497 invoked from network); 27 Aug 2003 08:38:47 -0000 X-WM-Posted-At: mailandnews.com; Wed, 27 Aug 03 04:38:45 -0400 From: Jason Stubbs To: gentoo-dev@gentoo.org Date: Wed, 27 Aug 2003 17:37:13 +0900 User-Agent: KMail/1.5.3 References: <3F4BE61E.50600@technaut.darktalker.net> <20030827003722.GA9653@cerberus.oppresses.us> <200308271027.27987.snikkt@telia.com> In-Reply-To: <200308271027.27987.snikkt@telia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308271737.13820.jasonbstubbs@mailandnews.com> Subject: Re: [gentoo-dev] uninstalling packages with portage X-Archives-Salt: 5d8d95d3-7e44-40aa-b2c7-9b374bde7278 X-Archives-Hash: 25de0163ca5366e419fc3cb065601de8 On Wednesday 27 August 2003 17:27, Mikael Andersson wrote: > On Wednesday 27 August 2003 02.37, Jon Portnoy wrote: > > On Tue, Aug 26, 2003 at 08:32:02PM -0400, Michael Cummings wrote: > > > I think the point is, why do they not block each other? Shouldn't they? > > > > > > Not that this is part of the original thread :) > > > > Why should they? netkit-base is a package that happens to provide > > ping among other utilities; because all of them except the old-style > > inetd are deprecated (old-style inetd is deprecated but some people > > still prefer it, for whatever reason). It no longer provides ping, just > > old-style inetd. > > > > Block each other in what way? How do you know before getting to the > > merge stage that files might be conflicting? > > I agree that we can't block them because we don't know _before_ the merge > stage. But at the merge stage it should be posssible to check if the files > are included in another (already installed) ebuild. This would of course > require that such information is present in a way that it can be done > reasonably fast. My suggestion is to present this > as a warning/information to the user. For example by outputting the > relevant merge line (<<<) with ewarn. > But more important is to record these conflict so that portage can issue a > warning before an unmerge that package-such-and-such will be broken and > need to be rebuild. Checking if files are already included in another ebuild is good, but I would suggest backing up the existing file instead of overwriting it.That way it could just be restored on an unmerge rather than rebuilding the entire package. Perhaps a generic chooser tool as well? Something along the lines of opengl-update? Regards, Jason -- gentoo-dev@gentoo.org mailing list