When updating pkgsrc, the CVS program keeps track of the branch you selected. But if you, for whatever reason, want to switch from the stable branch to the current one, you can do it by adding the option “-A” after the “update” keyword. To switch from the current branch back to the stable branch, add the “-rpkgsrc-2009Q3” option.
3. Updating a package:
4. Update packages on remote server. If you have them already installed - check which one is for update:
/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities
pkg_add -uu http://pkgserver/path/to/Pkg.tgz
this will update the package form remote with all dependent packages!