Date: Wed, 6 Dec 2017 16:13:58 -0800 From: Mel Pilgrim <list_freebsd@bluerosetech.com> To: Aristedes Maniatis <ari@ish.com.au>, freebsd-pkg@freebsd.org Subject: Re: How to upgrade php or python Message-ID: <fdc460f5-50ed-0732-d7aa-2f237c340690@bluerosetech.com> In-Reply-To: <etPan.5a2781a5.1e226b1b.8082@ish.com.au> References: <etPan.5a2781a5.1e226b1b.8082@ish.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/5/2017 9:35 PM, Aristedes Maniatis wrote: > Let’s say I’m in a very common situation where a new PHP update is released. I have the core php71 package plus another dozen like php71-mysqli. How do I upgrade these without being forced to do it one at a time or upgrading every package on the system? > > With https://github.com/freebsd/pkg/issues/1055 being unresolved for a few years now, I’m assuming other people have some sort of workaround for this very common need. If you're using the public repos and you're catching up to an increase in the default version, you can get pkg to migrate them by changing the origin. See chapter 4.4.9 of the Handbook[1], but in short you change the origin of the ports, run a normal pkg upgrade, then reinstall any depending ports (postfixadmin, phpMyAdmin, etc.). 1: https://www.freebsd.org/doc/handbook/pkgng-intro.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fdc460f5-50ed-0732-d7aa-2f237c340690>
