Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge --update behavior
Date: Mon, 02 Jan 2012 15:50:16
Message-Id: CA+czFiCFHEvVLZH3uU+1=W6Xd3Th+ZH3ovZiErKZUzYRynhoug@mail.gmail.com
In Reply to: Re: [gentoo-user] emerge --update behavior by Tanstaafl
1 On Mon, Jan 2, 2012 at 10:31 AM, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
2 > On 2012-01-01 5:13 PM, Michael Orlitzky <michael@××××××××.com> wrote:
3 >>
4 >> On 01/01/2012 05:06 PM, Michael Mol wrote:
5 >>>
6 >>> On Sun, Jan 1, 2012 at 4:50 PM, Michael Orlitzky<michael@××××××××.com>
7 >>> wrote:
8 >>>>
9 >>>> Using "emerge --update foo" adds "foo" to your world file. This is
10 >>>> responsible for pretty much every package that incorrectly found its way
11 >>>> into one of my world files.
12 >>>>
13 >>>> Is there any reason to desire the current behavior? I'd like to
14 >>>> suggest that
15 >>>> it be fixed, but want to be sure I'm not just being short-sighted.
16 >
17 >
18 >>> Pretty sure that's what -1 is for. I'm just getting the hang of it
19 >>> myself.
20 >
21 >
22 >> Well, I know what I'm *supposed* to do. My complaint is basically that I
23 >> sometimes forget to add -1 with -u, and that bad things happen as a
24 >> result.
25 >>
26 >> But why should I have to add -1 along with it? Is there any reason you
27 >> would ever want -u to add a package to your world file? If not, we can
28 >> avoid headaches in the future by making it do the sane (not harmful)
29 >> thing.
30 >
31 >
32 > Uh-oh...
33 >
34 > I've *never* used -1 unless I'm trying to fix a broken package by
35 > recompiling it... I've always just used
36 >
37 > emerge -vuDN world...
38 >
39 > Been doing it this way for 7+ years, and never had a problem, so my question
40 > is:
41 >
42 > What 'harmful' thing has been happening on/to my system all these years?
43
44 Probably nothing, because of your use of --deep and --newuse. That's
45 pretty much the way I upgrade software on my system.
46
47 --
48 :wq