Re: [gentoo-user] Re: dangerous to emerge --depclean

2006-06-04 Thread Chuanwen Wu

2006/6/3, Sven Köhler [EMAIL PROTECTED]:

 I just can't understand why emerge -- depclean such a dangerous
 command can exist or i do it in a wrong way(although i think i am
 right).

Have you seen the big fat warning that says emerge --depclean may
damage your system ?

--depclean is a nice service for advanced users. It's nothing for
beginners. You should know, why it does - and how it does what it does.

Well, --depclean start with all the packages in your world-file
(/var/lib/portage/world) and then it visits all the dependencies and the
dependencies of the dependencies of the packages.

All the packages, that are installed but that are not in the world file
or not a dependency, these packages are removed.

Thanks for your advices!I have learned a lot!







--
wcw

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: dangerous to emerge --depclean

2006-06-03 Thread Sven Köhler
 I just can't understand why emerge -- depclean such a dangerous
 command can exist or i do it in a wrong way(although i think i am
 right).

Have you seen the big fat warning that says emerge --depclean may
damage your system ?

--depclean is a nice service for advanced users. It's nothing for
beginners. You should know, why it does - and how it does what it does.

Well, --depclean start with all the packages in your world-file
(/var/lib/portage/world) and then it visits all the dependencies and the
dependencies of the dependencies of the packages.

All the packages, that are installed but that are not in the world file
or not a dependency, these packages are removed.

--depclean _may_ remove packages that are still in use, because of
use-flags were changed, faulty ebuilds, ...

So use it with care.

 Does this ever happened to you?

No, i'm using it with much much care.



signature.asc
Description: OpenPGP digital signature