Upgrade package to newer version

Hallo,

what is the best way to upgrade some package to newer version?

For example php52-5.2.13 with php52-extensions --> php5-5.3.2 with php5-extensions.

Thank you.
 
The best way is to pkg_delete the old ones and pkg_add the new ones.
 
Doing "man portmaster" I didnt able to see --index-only or --packages-only keyswitch... Where are them exactly?
 
sysman said:
Doing "man portmaster" I didnt able to see --index-only or --packages-only keyswitch... Where are them exactly?

Update portmaster.
 
OR
# portupgrade -RPP <package name>
for packages only, though myself prefer -RP flags that allows to update from packages + build from ports if a package required is outdated.
 
Back
Top