Gentoo Archives: gentoo-dev

From: Mikael Andersson <snikkt@×××××.com>
To: Jon Portnoy <avenj@g.o>, gentoo-dev@g.o
Subject: Re: [gentoo-dev] uninstalling packages with portage
Date: Wed, 27 Aug 2003 08:24:35
Message-Id: 200308271027.27987.snikkt@telia.com
In Reply to: Re: [gentoo-dev] uninstalling packages with portage by Jon Portnoy
1 On Wednesday 27 August 2003 02.37, Jon Portnoy wrote:
2 > On Tue, Aug 26, 2003 at 08:32:02PM -0400, Michael Cummings wrote:
3 > > I think the point is, why do they not block each other? Shouldn't they?
4 > >
5 > > Not that this is part of the original thread :)
6 >
7 > Why should they? netkit-base is a package that happens to provide
8 > ping among other utilities; because all of them except the old-style
9 > inetd are deprecated (old-style inetd is deprecated but some people
10 > still prefer it, for whatever reason). It no longer provides ping, just
11 > old-style inetd.
12 >
13 > Block each other in what way? How do you know before getting to the
14 > merge stage that files might be conflicting?
15 >
16
17 I agree that we can't block them because we don't know _before_ the merge
18 stage. But at the merge stage it should be posssible to check if the files
19 are included in another (already installed) ebuild. This would of course
20 require that such information is present in a way that it can be done
21 reasonably fast. My suggestion is to present this
22 as a warning/information to the user. For example by outputting the relevant
23 merge line (<<<) with ewarn.
24 But more important is to record these conflict so that portage can issue a
25 warning before an unmerge that package-such-and-such will be broken and need
26 to be rebuild.
27
28
29 > The only real solution that I can see is preventing it from happening in
30 > the first place.
31 >
32 > Here's something in the same vein:
33 > http://bugs.gentoo.org/show_bug.cgi?id=18181
34 >
35 > I guess we need to determine which package provides the best version of
36 > kill. In that case, it's not that much of a big deal because most people
37 > are going to be using their shell's internal kill command anyway,
38 > though.
39
40 I think both ways are good. One way to detect conflicts and then work with
41 ebuilds/blocking etc to resolve them more permanently.
42
43
44 /Mikael Andersson
45
46
47 --
48 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] uninstalling packages with portage Jason Stubbs <jasonbstubbs@×××××××××××.com>