Bsd ports updating

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.

Each installed port will be listed in one of these categories along with whether the port has a revised version available: contains all the last minute notes on all of the ports in the Ports Collection and documents, where applicable, some of the problems you may encounter when updating, and/or additional features or options that may be available.

You can (and should) run the -stable branch of ports on either a -release or -stable system, but the -current branch will only work on -current.

You can export the PKG_PATH variable in your ~/.profile or /etc/so you don't have to type it every time.

You can skip the confirmation step by adding the no-confirm option to the command: The -a options tells portmaster to review all installed ports and update them if necessary.

Once again, if portmaster is unclear about the configuration options for a particular port, it will prompt for input, otherwise it will present a list of ports that it will update and ask to confirm before proceeding.

portmaster is nothing more than a shell script (albeit a quite elegant and powerful one), written in /bin/sh.

It does not depend upon other ports, external databases or languages, rather it’s been written in such a way as to make use of the information about a port’s dependencies, dependents, file locations and other information contained in to determine which ports to update.

Leave a Reply