1 |
chrome://messenger/locale/messengercompose/composeMsgs.properties: |
2 |
> On 02/27/2010 04:15 AM, BRM wrote: |
3 |
>> ----- Original Message ---- |
4 |
>> |
5 |
>>> From: Neil Bothwick<neil@××××××××××.uk> To: |
6 |
>>> gentoo-user@l.g.o On Fri, 26 Feb 2010 06:34:18 -0800 |
7 |
>>> (PST), BRM wrote: |
8 |
>>>> Aside from that, I'm not sure I have ever really run "emerge |
9 |
>>>> --depclean", but I also rarely uninstall anything, but don't |
10 |
>>>> install things left or right to try out either, so typically |
11 |
>>>> upgrades are all I need to do. |
12 |
>>> You should still run --depclean as dependencies change and you |
13 |
>>> could still have plenty of no longer needed ones installed. |
14 |
>> |
15 |
>> Okay - so I ran "emerge --depclean -a" and got the below. I tried |
16 |
>> running "emerge world -vuDNa" as specified, but that didn't resolve |
17 |
>> it either. |
18 |
>> |
19 |
>> I tried looking in the world file (/var/lib/portage/world) but didn't |
20 |
>> find any entries that felt safe to remove. |
21 |
> |
22 |
> "Safe" as to what? If something is in the world file that you didn't |
23 |
> explicitly request, then it doesn't belong there. For example, if you |
24 |
> have "x11-libs/qt-gui" in world, you should delete it. The world file |
25 |
> should not contain dependencies, it should only contain the stuff you |
26 |
> emerged directly. |
27 |
> |
28 |
> To give an example, if you emerge "media-video/smplayer", then that |
29 |
> one will end up in the world file. But smplayer will also pull-in qt |
30 |
> and mplayer. Those do not go in the world file. When you unmerge |
31 |
> smplayer again, qt and mplayer will not be unmerged unless you run |
32 |
> "emerge --depclean". However, if qt and mplayer end up being in the |
33 |
> world file anyway, it means you made a mistake at some point; like |
34 |
> emerging something that is a dependency but forgot to specify the "-1" |
35 |
> (or "--oneshot") option to emerge. |
36 |
> |
37 |
> So if you see something in the world file that you know don't need |
38 |
> directly (and I doubt you need qt directly; KDE for example needs it, |
39 |
> you, as a person, don't) it's safe to remove. |
40 |
> |
41 |
> Of course always make a backup first :P |
42 |
> |
43 |
If I edit the world file and I am not sure, I always run -p --depclean. |
44 |
That should tell you if you are about to make a boo boo. The package you |
45 |
removed will be cleaned out but so will other things. If it starts to |
46 |
remove something that you know you want to keep, then you need to figure |
47 |
out why that entry was there and what can be put in the world file to |
48 |
keep the things you do want. |
49 |
|
50 |
The example Nikos used is a good one. If you decide you don't want |
51 |
smplayer but want to use mplayer, then you would need to add mplayer to |
52 |
the world file so that it will stay but --depclean will remove smplayer |
53 |
when you run --depclean. |
54 |
|
55 |
Nikos is correct on the -1 option tho. That is the same as --oneshot by |
56 |
the way. That is the biggest reason that something ends up in the world |
57 |
file that shouldn't be there. I would just about bet that we have all |
58 |
forgot the -1 option more than once. It doesn't matter how long a |
59 |
person has used Gentoo, it just happens. |
60 |
|
61 |
Dale |
62 |
|
63 |
:-) :-) |