On Wed, 29 Aug 2007 12:10:00 -0700
Predrag Punosevac <[EMAIL PROTECTED]> wrote:

[...]
> never use with option -a (all)

Why?

[...]
> Recently I upgraded one library by using make deinstall && make
> reinstall (I guess this is little bit stupid because of the
> dependence issues but it could work for some small program)

Why is it stupid and why for small programs? If "dependency issue"
means that you had an outdated library, then that usually simply means
that you had outdated ports tree as a whole. If you update everything,
portupgrade will basically do the same: it will _forcefully_ delete
old package and replace it with the new one, but it will also preserve
everything that is necessary to recreate the old version if updating
eventually fails. And of course, it will do it in a correctly determined
task order.

It's generally wise to be consistent in using a chosen port management
software: if you use portupgrade then always use portupgrade; use
pkg_deinstall (a part of it) to delete -- it will run more basic
commands for you. Use portupgrade -f to forcefully rebuild, etc.

Nikola Lečić
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to