Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2017 18:33:27 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        Sharon Pittman <sharon57pittman@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re:
Message-ID:  <7a57c648-8a7e-d8a6-6e47-4eb8bad758dc@gmail.com>
In-Reply-To: <CAO-zMaRfVAKhLUZNG6KA8uO-2Pkvq5qYDMKngV-o=i2J8iLdwQ@mail.gmail.com>
References:  <CAO-zMaRfVAKhLUZNG6KA8uO-2Pkvq5qYDMKngV-o=i2J8iLdwQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Op 25/11/2017 om 17:47 schreef Sharon Pittman:

> How do u upgrade a port?
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7a57c648-8a7e-d8a6-6e47-4eb8bad758dc>