Mailing List Archive

Unmerge a package and its unneeded dependencies
Hello.

How can one unmerge a package and all the packages it
depends on, for which there are no other packages
depending on?

For instance, suppode that
* packages A, B, C, D and Z are installed,
* package A depends only on packages B, C and D,
* package Z depends on package B, and
* no other installed package depends on C and D.
Then when unmerging package A, packages C and D should
also be unmerged, but package B should not.

Is it possible to have an automated way of having
packages A and all its dependencies that ar not
needed by other installed packages (C and D) unmerged,
without the need for the user to ask for unmerging
them by name?

Romildo

--
gentoo-user@gentoo.org mailing list
Re: Unmerge a package and its unneeded dependencies [ In reply to ]
On Fri, 29 Oct 2004 16:35:56 -0300, romildo@uber.com.br wrote:

> How can one unmerge a package and all the packages it
> depends on, for which there are no other packages
> depending on?

emerge -C packagename
emerge -p depclean
emerge depclean


--
Neil Bothwick

Hi, I'm not a signature virus. Why don't you just copy me into your
signature?