pkg_add -r portupgrade
===> Deinstalling portupgrade-devel-2.4.4
===> Cleaning for portupgrade-devel-2.4.4
[root@w00d /usr/ports/ports-mgmt/portupgrade-devel]# pkg_add -r portupgrade
Fetching
ftp://ftp.freebsd.org/pub/FreeBSD/ports ... pgrade.tbz... Done.
pkg_add: warning: package 'portupgrade-2.4.3_2,2' requires 'ruby-1.8.6.111_2,1', but 'ruby+oniguruma-1.8.6.111_4,1' is installed
pkg_add: warning: package 'portupgrade-2.4.3_2,2' requires 'ruby18-bdb-0.6.2', but 'ruby18-bdb-0.6.4' is installed
------------------------------------------------------------------------------
Fill ALT_PKGDEP section in pkgtools.conf file for portupgrade
be aware of alternative dependencies you use.
E.g.
ALT_PKGDEP = {
'www/apache13' => 'www/apache13-modssl',
'print/ghostscript-gnu' => 'print/ghostscript-gpl',
}
Note also, portupgrade knows nothing how to handle ports with different
suffixes (E.g. -nox11). So you should explicitly define variables
(E.g. WITHOUT_X11=yes) for the ports in /etc/make.conf or pkgtools.conf
(MAKE_ARGS section) files.
------------------------------------------------------------------------------
[root@w00d /usr/ports/ports-mgmt/portupgrade-devel]# portupgrade
FFaattaall eerrrroorr ''Thread is not system scope.
Thread is not system scope.
'' aatt lliinnee 331199 iinn ffiillee /usr/src/lib/libpthread/thread/thr_sig.c/usr/src/lib/libpthread/thread/thr_sig.c ((eerrrrnnoo == 22))
Segmentation fault: 11 (core dumped)
[root@w00d /usr/ports/ports-mgmt/portupgrade-devel]# pkg_de
pkg_deinstall pkg_delete
[root@w00d /usr/ports/ports-mgmt/portupgrade-devel]# pkg_de
pkg_deinstall pkg_delete
[root@w00d /usr/ports/ports-mgmt/portupgrade-devel]# pkg_deinstall portupgrade
Fatal error 'Thread is not system scope.
' at line 319 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno = 2)
Segmentation fault: 11 (core dumped)