1 |
> I just can't understand why "emerge -- depclean" such a dangerous |
2 |
> command can exist or i do it in a wrong way(although i think i am |
3 |
> right). |
4 |
|
5 |
Have you seen the big fat warning that says "emerge --depclean may |
6 |
damage your system" ? |
7 |
|
8 |
"--depclean" is a nice service for advanced users. It's nothing for |
9 |
beginners. You should know, why it does - and how it does what it does. |
10 |
|
11 |
Well, --depclean start with all the packages in your world-file |
12 |
(/var/lib/portage/world) and then it visits all the dependencies and the |
13 |
dependencies of the dependencies of the packages. |
14 |
|
15 |
All the packages, that are installed but that are not in the world file |
16 |
or not a dependency, these packages are removed. |
17 |
|
18 |
--depclean _may_ remove packages that are still in use, because of |
19 |
use-flags were changed, faulty ebuilds, ... |
20 |
|
21 |
So use it with care. |
22 |
|
23 |
> Does this ever happened to you? |
24 |
|
25 |
No, i'm using it with much much care. |