1 |
Alan McKinnon wrote: |
2 |
> On Mon, 02 Jan 2012 04:19:39 -0600 |
3 |
> Dale<rdalek1967@×××××.com> wrote: |
4 |
> |
5 |
>> Alan McKinnon wrote: |
6 |
>>> The current behaviour is the correct and expected one - you told |
7 |
>>> portage to emerge something and it did. Why else would you emerge |
8 |
>>> something if you didn't intend it to become a permanent feature of |
9 |
>>> the system and part of world? This has always been the definition |
10 |
>>> of emerge - to make it permanent. If you want to emerge something |
11 |
>>> and NOT have portage put it in world then you must use the -1 |
12 |
>>> option. Remember that emerging something is supposed to be a |
13 |
>>> permanent action that you (as root) intended to happen. If what you |
14 |
>>> intend is something more unusual like a mere test or "just to see |
15 |
>>> what would happen" then you must take additional steps (to make it |
16 |
>>> clear that you are doing something out of the ordinary). It's the |
17 |
>>> same logic as rm uses: the user told the computer to delete a file |
18 |
>>> so the computer did what it was told by it's master and deleted the |
19 |
>>> file. What else would you expect it to do? p.s. before I forget: |
20 |
>>> Happy New Year :-) |
21 |
>> I didn't tell it to add it to the world file tho, I just told it to |
22 |
>> update it hence the option --update. I update things all the time |
23 |
>> but it doesn't mean I want them added to the world file. If I want |
24 |
>> to emerge something and have it added to the world file, I leave the |
25 |
>> -u option out of it, then it should be added because I requested it |
26 |
>> to be emerged not updated. |
27 |
>> |
28 |
>> Example: |
29 |
>> |
30 |
>> emerge phonon |
31 |
>> |
32 |
>> That means I want it emerged on my system and should be added to the |
33 |
>> world file. |
34 |
>> |
35 |
>> emerge -u phonon |
36 |
>> |
37 |
>> That means I want to update/upgrade phonon. I don't want it in my |
38 |
>> world file, just updated. This is the way it worked before --oneshot |
39 |
>> came along. It is not the way it is now but it was that way a good |
40 |
>> while back. |
41 |
>> |
42 |
>> Happy New Year to you too. Mine are getting better. I lost my Dad |
43 |
>> on New Years Day many years ago. It's not the same since. |
44 |
> |
45 |
> The current behaviour seems more logical to me. You also seem to have |
46 |
> gotten used to the old way and can't see past it :-) |
47 |
> |
48 |
> When Zac needs to define when something does, he needs to keep the big |
49 |
> picture in mind to get consistency. So what's the purpose of emerge? |
50 |
> Well, read the DESCRIPTION in the man page: |
51 |
> |
52 |
> ===== |
53 |
> DESCRIPTION |
54 |
> emerge is the definitive command-line interface to the |
55 |
> Portage system. It is primarily used for installing packages, and |
56 |
> emerge can automatically handle any dependencies that the desired |
57 |
> package has. emerge can also update the portage tree, making new and |
58 |
> updated packages available. emerge gracefully handles updating |
59 |
> installed packages to newer releases as well. It handles both source |
60 |
> and binary packages, and it can be used to create binary packages for |
61 |
> distribution. |
62 |
> ===== |
63 |
> |
64 |
> Obviously it must maintain system and the world file to do this. That |
65 |
> is the primary function, everything else is secondary. When emerge |
66 |
> merges something to the live system, it puts everything listed on the |
67 |
> command line into world; everything brought along automagically as |
68 |
> a dep does not go into world. Any changes to that purpose must have a |
69 |
> very good reason. |
70 |
> |
71 |
> Emergeing something puts it in world, we have established that. But |
72 |
> this thing called an "update" does not imply that the packages are not |
73 |
> to go in world - an update is just an update, not "merge this but also |
74 |
> do something weird with world". Actually --update makes little sense |
75 |
> with just individual packages, if they are not already installed they |
76 |
> will be (which is exactly what you get by omitting --update). It does |
77 |
> make a lot of sense when used with system, world, and sets though. |
78 |
> |
79 |
> So it seems to me Zac has removed a peculiar bahaviour and made it much |
80 |
> more consistent: |
81 |
> |
82 |
> When you emerge packages explicitly by name, they go into world always. |
83 |
> The only way to do it differently is to use -1 which tells portage to |
84 |
> not put them in world. |
85 |
> |
86 |
> Makes sense to me. |
87 |
> |
88 |
|
89 |
That's why I fixed the new way to be closer to what I am used to. I |
90 |
added --oneshot to my make.conf. When I really need to add something to |
91 |
world, I just use --select y -nav. To me, that is a lot of extra steps |
92 |
to be "consistent". That works if it is already installed. For those |
93 |
reading, leave off the -n if it is a fresh new install of a package. |
94 |
The -n means to not compile it, just add it to world. |
95 |
|
96 |
You see my dracut post? I *think* I got init thingy to work. O_O It |
97 |
took me a couple months but . . . . |
98 |
|
99 |
Dale |
100 |
|
101 |
:-) :-) |
102 |
|
103 |
-- |
104 |
I am only responsible for what I said ... Not for what you understood or how you interpreted my words! |
105 |
|
106 |
Miss the compile output? Hint: |
107 |
EMERGE_DEFAULT_OPTS="--quiet-build=n" |