Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 22:47:22 -0900
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        lacalling <lacalling@gmail.com>
Subject:   Re: A problem about pkg_deinstall
Message-ID:  <200902282247.22739.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <de8d0ce00902282255x75100d00ha05a13c555e9ff9@mail.gmail.com>
References:  <de8d0ce00902282255x75100d00ha05a13c555e9ff9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 28 February 2009 21:55:43 lacalling wrote:
> I have some problems about pkg_deinstall.
>
> pkg_deinstall -R deletes packages depended recursively.
>
> but it seems to crashes some other packages.
>
> for example,i installed pkg A,it depends on pkg b,c,d.
>
> pkg_deinstall -R will deletes A,b,c,d.
>
> but if b is depended by some other pkg X which i use,X probably will crash.

Aside what Michael pointed out, ports-mgmt/pkg_cutleaves is much easier for 
this task. It will only delete leaves, so if b is still needed by X, it will 
not come up on the next iteration. And you get to see the short description 
of the package, so may decide to keep it anyway...
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902282247.22739.fbsd.questions>