# pkg audit -F
# pkg update $ pkg search ".*" | grep curl
Опираясь на версию дерева портов:
$ pkg version
# pkg upgrade clamav
кроме заблокированных pkg lock
# pkg upgrade
[server:~] # portsnap fetch update [server:~] # less /usr/ports/UPDATING
[server:~] # pkg unlock asterisk11 [server:~] # cd /usr/ports/net/asterisk11 [server:ports/net/asterisk11] # make [server:ports/net/asterisk11] # pkg delete asterisk11 [server:ports/net/asterisk11] # make install clean [server:~] # pkg lock asterisk11 [server:~] # service asterisk11 restart
[server:~] # pkg install portmaster
[server:~] # portmaster -l
[server:~] # portmaster -L
[server:~] # pkg unlock asterisk11 [server:~] # portmaster -i asterisk11 [server:~] # pkg lock asterisk11
[server:~] # pkg install portupgrade
[server:~] # portversion -v
[server:~] # pkg unlock asterisk11 [server:~] # portupgrade asterisk11 [server:~] # pkg lock asterisk11
[server:~] # portupgrade --batch -aRr
[server:~] # portsdb -u
[server:~] # pkgdb -Ff
[server:~] # csup -h cvsup4.ru.FreeBSD.org /usr/share/examples/cvsup/ports-supfile
Для устаревших систем может использоваться метка версии портов наподобии:
*default release=cvs tag=RELEASE_5_EOL
[server:~] # cd /usr/ports [server:/usr/ports/] # make index ИЛИ [server:/usr/ports/] # make fetchindex