Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Mar 2015 19:28:24 -0500
From:      Michael Powell <nightrecon@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: 'pkg upgrade' wants to install php56
Message-ID:  <md0arb$l7u$1@ger.gmane.org>
References:  <54F399EF.3090908@networktest.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Newman wrote:

> How to ensure pkg will upgrade php5 modules within the same minor version?
> 
> After updating pkgs on a FreeBSD 10.1-RELEASE-p6 amd64 system, the 'pkg
> upgrade' command wants to install php56 even though all php5 pkgs are on
> 5.4.37. The rest of the commands from the upgrade appear to want to
> upgrade modules from php5-5.4.37 to 5.4.38.

The default recently changed to 5.6 as per 20150220: in /usr/ports/UPDATING. 
Also see 20140211: in same.

> There's nothing in /etc/make.conf forcing version numbers.

Try putting in make.conf this: DEFAULT_VERSIONS+=php=5.5

> I don't particularly care which php version runs (well, within 5.4-5.6)
> as long as module versions are consistent. How to ensure that?
> 
[snip]

I build everything from ports and do not use binary package management. Not 
entirely certain as to any difference(s) that may entail. I followed all the 
instructions as the came along about moving to the new 'pkg' system so in 
theory it should work just fine. Just have never tried it, yet. So, not 
entirely sure about how make.conf relates to binary (pkg) management 
practices. Would like to know more about this meself. 

-Mike






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?md0arb$l7u$1>