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

2004-03-06 Thread Shaun T. Erickson
'pkg_delete port' vs 'cd /usr/ports/port;make deinstall'

What's the difference between these?

	-ste

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


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

2004-03-06 Thread parv
in message [EMAIL PROTECTED],
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

-- 

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


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

2004-03-06 Thread Kent Stewart
On Saturday 06 March 2004 03:16 pm, Shaun T. Erickson wrote:
 'pkg_delete port' vs 'cd /usr/ports/port;make deinstall'

 What's the difference between these?


You can do a wild card delete using something like 
pkg_delete 'port*'
and not have to use the full version number. You can do this in fewer 
steps than learning the path to the port and cd'ing in. Once you have 
used either method, I don't think you can tell how you did it :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]