Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2004 18:49:33 -0500
From:      parv <parv@pair.com>
To:        "Shaun T. Erickson" <ste@ste-land.com>
Cc:        FreeBSD-Questions@Freebsd.org
Subject:   Re: 'pkg_delete port' vs 'cd /usr/ports/port;make deinstall'
Message-ID:  <20040306234933.GA2108@moo.holy.cow>
In-Reply-To: <404A5BB5.7070908@ste-land.com>
References:  <404A5BB5.7070908@ste-land.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <404A5BB5.7070908@ste-land.com>,
wrote Shaun T. Erickson thusly...
>
> 'pkg_delete port' vs 'cd /usr/ports/port;make deinstall'

There is no such thing as /usr/ports/<port>, unless you meant
/usr/ports/<category>/<port> which i assume for this reply.


> What's the difference between these?

One is "make deinstall" will remove the port w/o care to any
dependencies.   Pkg_delete will remove a dependency-port only if you
specify via the -f (force) flag.  Both will notify you about any
dependencies in any case.

Personally, i use "make deinstall" only when the installed port
version is same as in /usr/ports/<category>/<port> AND happened to be
in that directory.  Otherwise, i just use pkg_de(install|delete).


  - Parv

-- 



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