Bsd updating all ports
All I do, however is go from one release to the next, always just doing an update. Coming from the Linux world, I'm used to applying updates a few times a week; but how do I do that on *BSD? In general, when using Open BSD you only update your packages when you update your system.
I configured the system so it works as my router and firewall, and it works quite well like that. So, as a final step, after upgrading to the latest release, you should execute: # pkg_add -ui Which will (u)pgrade your installed packages asking you any questions (i)nteractive when needed.
The various BSD systems have a very clear separation into "base system" and "3rd party software (ports/packages)". In the case of Open BSD, assuming you want to move from one stable release to the next stable release (jumping releases is not supported unless you make a fresh install), you start off by reading the specific FAQ for the upgrade you're performing.
The portmaster utility is a simple yet powerful tool for updating your ports.On Net BSD, you usually upgrade pkgsrc to the latest version (which is nothing more than tar -xvzf gz) and updates the installed software individually.More information on the Net BSD/pkgsrc website: Hope this helps!All commands are issued as the root user or by simulating the root user by using the command Now that the Ports Collection has been updated and portmaster installed, let’s check the installed ports against the updated Ports Collection to see whether any installed ports need to be updated.portmaster provides a way to list ports that need updating using the -L option: : Ports listed under this category have dependencies but are not depended upon by other ports.