'pkg_delete port' vs 'cd /usr/ports/port;make deinstall'

parv parv at pair.com
Sat Mar 6 16:12:56 PST 2004


in message <404A5BB5.7070908 at 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

-- 



More information about the freebsd-questions mailing list