> <mailto:
li...@binarywings.net>>写道:
[...]
> Am 21.04.2012 20:39, schrieb
ny6...@gmail.com <mailto:
ny6...@gmail.com>:
> > Do I understand you correctly that it is not necessary to run emerge
> > -unmerge first before removing the atoms from @world and running
> emerge
> > --depclean?
> >
> > Terry
> >
>
> Yes. I think it is also mentioned in the gentoo handbook. In fact, you
> should not use --unmerge because it doesn't check dependencies before
> removing the package.
>
> If you want to delete a package only if no other package depends on it,
> either remove it from world or use
> `emerge -av --depclean <package_name>`.
> The latter has the advantage of also telling you what depends on it.
>
> Regards,
> Florian Philipp
>
> But it seems that the --depclean is a dangerous operate ??
It is, but far less dangerous than --unmerge. depclean will only remove
packages when portage /thinks/ it is safe. unmerge will always remove
them, even if it breaks the system. Nevertheless, like Dale said, you
should be careful with depclean and use -a or -p with it. But if
depclean makes an error, there is usually something else wrong with your
system.
Regards,
Florian Philipp
P.S.: Please don't top-post. If your email client supports it, put your
responses below the text you quote (i.e. where I moved your response in
this mail). That makes reading long threads easier.