Mike Williams <[EMAIL PROTECTED]> writes:

> On Wednesday 04 February 2004 15:35, Marcello Mezzanotti wrote:
>> i would like to know, if its possible to unmerge a package with all
>> packs that depends or any way it warns about a package that depends of
>> it
>
> If you merge it with 'emerge package', then once you've unmerged it you should 
> be able to clean it's dependancies with 'emerge depclean'.
> If you merge it with 'emerge depdancy1 dependacy 2 package', the each package 
> will either need to be unmerge specifically, or take a look 
> at /var/cache/edb/world, remove the entries you no longer want, and try 
> 'emerge depclean' again.

No! Don't do it! _NEVER_ use emerge depclean, it can corrupt your
system. At first do 'emerge -p depclean' and then unmerge unwanted
packages.

For example:

#emerge -p depclean | grep '/' > ~/depclean 
Then remove packages from the list, that you don't want to unmerge
#emacs ~/depclean
#cat ~/depclean | xargs emerge --unmerge

Works good for me.

Also search gentoo forums, someone has posted there a perl script that
removes packages with their dependacies.

-- 
Regards,
Nickolay <[EMAIL PROTECTED]>

--
[EMAIL PROTECTED] mailing list

Reply via email to