Esempio di errore durante un aggiornamento :
freebsd9# portupgrade -r php5
...
===> Installing for pkgconf-0.8.3
===> Generating temporary packing list
===> Checking if devel/pkgconf already installed
===> An older version of devel/pkgconf is already installed (pkg-config-0.25_1)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of devel/pkgconf
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1Stop in /usr/ports/devel/pkgconf.
*** Error code 1Stop in /usr/ports/lang/php5.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120728-69742-x9nhi9-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php5-5.4.4 UPGRADE_PORT_VER=5.4.4 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! lang/php5 (php5-5.4.4) (unknown build error)
Per risolvere il problema eseguire i seguenti comandi :
freebsd9# cd /usr/ports/devel/pkgconf
freebsd9# setenv FORCE_PKG_REGISTER
freebsd9# make reinstall clean...
freebsd9# portupgrade -r php5