Talk:World set (Portage)

Keep it clean
The depclean option is related to the package set @world so the command   is wrong.

--depclean (-c)

Cleans the system by removing packages that are not associated with explicitly merged packages. Depclean works  by  creating the  full  dependency  tree from the @world set, then comparing it to installed packages. Packages installed, but not part of the dependency tree, will be uninstalled by depclean. [...] Packages that are part of the world set will always be kept.

[...] Depclean serves  as  a dependency aware version of --unmerge. When given one or more atoms, it will unmerge matched packages that have no reverse dependencies. Use --depclean together with --verbose to show reverse dependencies. [...]

Finally, the second test is useless because the first test tells if a package is a dependency of other packages.

--Feng (talk) 19:40, 5 January 2018 (UTC)