Re: pkg_deinstall or pkg_delete

2004-05-11 Thread Parv
in message <[EMAIL PROTECTED]>, wrote Roop
Nanuwa thusly...
>
> On Mon, 10 May 2004 22:45:42 -0400, Chiang Seng Chang
> <[EMAIL PROTECTED]> wrote:
> > 
> > What's the difference between pkg_deinstall and pkg_delete ?
> 
> pkg_deinstall is a wrapper for pkg_delete that supports wildcards
> and dependency recursion.

Pkg_delete handles wildcards just fine.  Or, is it just the partial
port string, case sensitive, that it can handle?  I do not have any
ports to deinstall handy right now to test.


> > If I use portinstall to install a port, which should I use to
> > uninstall it ?
> 
> If it's a single port that you want to delete on its own then
> either will suffice.  If you want to do a recursive uninstall or
> delete multiple packages then you'll probably want to make use of
> pkg_deinstall.

Pkg_delete can delete ports given as a list just like it can delete
single port; it, however, does not recurse like pkg_deinstall.


I have not used pkg_deinstall to recursively ports much; I like
pkg_delete better, more so in case of inconsistent state of
installed dependencies.


  - Parv

-- 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkg_deinstall or pkg_delete

2004-05-10 Thread Roop Nanuwa
On Mon, 10 May 2004 22:45:42 -0400, Chiang Seng Chang <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> What's the difference between pkg_deinstall and pkg_delete ?
> 

pkg_deinstall is a wrapper for pkg_delete that supports wildcards and
dependency recursion.

> If I use portinstall to install a port, which should I use to uninstall it ?
> 

If it's a single port that you want to delete on its own then either
will suffice.
If you want to do a recursive uninstall or delete multiple packages then you'll
probably want to make use of pkg_deinstall.

--roop
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"