No subject

Johan Hendriks joh.hendriks at gmail.com
Sat Nov 25 17:33:31 UTC 2017


Op 25/11/2017 om 17:47 schreef Sharon Pittman:

> How do u upgrade a port?
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
A installed port can be updated with portmaster or portupgrade, or you
can create packages with synth or poudriere and install those.
First update the ports tree.

portsnap fetch update

When the portstree is updated  READ THE UPDATING FILE in /usr/ports/
This contains some info when there is some manual interfention needed
and other info regarding ports.
You can see wich port can be updated with the following command.

pkg version -vL =

Then you can do a upgarde per port 
portmaster -d <portname>

Or do a upgrade of all ports that needs updating
portmaster -d -a

Remember that if you have a lot of ports things can fail with portmaster.
This is why many people use synth or poudriere to create packages form
ports and install those.
If you want to use synt or poudriere, then use some google foo to find
some nice howto's

Next time use a subject line when sending an e-mail to the list.

regards,
Johan



More information about the freebsd-ports mailing list