Updating FreeBSD ports with portmaster without prompts

Update the port collection:

portsnap fetch update

Using Portmaster check for updated ports:

portmaster -L | more

Update all the main applications first or top level ports.

Update one port:

portmaster -yd –no-confirm wget

-y  answer yes to all user prompts for the features below
-d  always clean distfiles
–no-confirm  do not ask the user to confirm the list of ports to be installed
and/or  updated before proceeding.

Check for any ports that still require updates

portmaster -L | more

Update all remaining ports without prompts:

portmaster -dya –no-confirm

-a     check all ports, update as necessary

 

Advertisements