1 |
Dale schrieb: |
2 |
> Michael P. Soulier wrote: |
3 |
> |
4 |
>> I'm new to gentoo, and I recently changed my USE flags, so I ran |
5 |
>> |
6 |
>> emerge -p --depclean |
7 |
>> |
8 |
>> to see what it suggests removing. |
9 |
>> |
10 |
>> Along with many others, I see |
11 |
>> |
12 |
>> dev-lang/python |
13 |
>> selected: 2.4.4-r13 |
14 |
>> protected: none |
15 |
>> omitted: 2.5.2-r7 |
16 |
>> |
17 |
>> msoulier@anton:~$ equery list | grep dev-lang/python |
18 |
>> dev-lang/python-2.4.4-r13 |
19 |
>> dev-lang/python-2.5.2-r7 |
20 |
>> |
21 |
>> So it's going to remove the redundant python version, is that right? Any |
22 |
>> chance of shared files being removed? |
23 |
>> |
24 |
>> Thanks, |
25 |
>> Mike |
26 |
>> |
27 |
>> |
28 |
> |
29 |
> Run this, emerge -uvDNp world and see if it wants to emerge anything. |
30 |
> man emerge will tell you what the options are for but the -N is the |
31 |
> important part. Also, you may want to run python-updater as well just |
32 |
> to see if it picks up anything. Basically, you want to make sure |
33 |
> everything is using the new version of python before removing the old. |
34 |
> --depclean has no clue on that one. |
35 |
> |
36 |
> Also, anytime you run --depclean, run revdep-rebuild -i afterwards just |
37 |
> in case something did get messed up. Always do that before you log out |
38 |
> or reboot. I have been known to switch to another console and login |
39 |
> before logging out of the other one. Just to be sure. |
40 |
> |
41 |
> Be very careful with --depclean. It can really mess up something if you |
42 |
> are not watching close. Ask first if you're not sure. |
43 |
> |
44 |
> Dale |
45 |
> |
46 |
> :-) :-) |
47 |
> |
48 |
> |
49 |
Hi, |
50 |
As I have written somewhere else a couple of times. If unmerging a part |
51 |
of the system consider running quickpkg --include-config=y |
52 |
<forexamplepython> before. Running revdep-rebuild might show you do have |
53 |
to reinstall whatever you unmerged but emerge might not be able to do it |
54 |
any longer if something is really broken. |
55 |
kh |