Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2017 08:28:49 -0500
From:      Baho Utot <baho-utot@columbus.rr.com>
To:        freebsd-pkg@freebsd.org
Subject:   Re: How to upgrade php or python
Message-ID:  <27228adb-3631-e0bf-fa20-d95a3e541683@columbus.rr.com>
In-Reply-To: <ed1c2cfb-2db7-8cec-c7ca-039321ff09c0@FreeBSD.org>
References:  <etPan.5a2781a5.1e226b1b.8082@ish.com.au> <ed1c2cfb-2db7-8cec-c7ca-039321ff09c0@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On 12/06/17 05:12, Matthew Seaman wrote:
> On 06/12/2017 05:35, 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?
> 
> Assuming you have built your own pkg repository with poudriere and set
> the default php version to whatever you want, then a simple 'pkg
> upgrade' will do the trick.  This pretty much works for changing the
> default version of php as well as just patch-level updates.
> 
> The trick with pkg(8) is not to try and upgrade things piecemeal -- it
> is much more complicated than it at first appears, and the likelyhood is
> you will end up with inconsistencies and even software failures.  It's
> pkg(8)'s entire reason for existence to sort out all of this sort of
> dependency relationships, and at the moment it does that best when it's
> allowed to consider all of the packages you have installed.
> 
> 	Cheers,
> 
> 	Matthew
> 
> 

So are you saying it's broke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27228adb-3631-e0bf-fa20-d95a3e541683>