Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2004 16:33:47 -0400
From:      Parv <parv@pair.com>
To:        Roop Nanuwa <roop.nanuwa@gmail.com>
Cc:        Chiang Seng Chang <cs@ctzen.com>
Subject:   Re: pkg_deinstall or pkg_delete
Message-ID:  <20040511203347.GB93670@moo.holy.cow>
In-Reply-To: <75f3f705040510202240a5eae3@mail.gmail.com>
References:  <40A03E56.1000909@ctzen.com> <75f3f705040510202240a5eae3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <75f3f705040510202240a5eae3@mail.gmail.com>, wrote Roop
Nanuwa thusly...
>
> On Mon, 10 May 2004 22:45:42 -0400, Chiang Seng Chang
> <cs@ctzen.com> 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

-- 



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