From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 00:29:09 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 303B43EC for ; Mon, 2 Mar 2015 00:29:09 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DEA6FB66 for ; Mon, 2 Mar 2015 00:29:08 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YSEEC-0005tg-St for freebsd-questions@freebsd.org; Mon, 02 Mar 2015 01:28:57 +0100 Received: from pool-173-79-82-127.washdc.fios.verizon.net ([173.79.82.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2015 01:28:56 +0100 Received: from nightrecon by pool-173-79-82-127.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2015 01:28:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: 'pkg upgrade' wants to install php56 Date: Sun, 01 Mar 2015 19:28:24 -0500 Lines: 31 Message-ID: References: <54F399EF.3090908@networktest.com> Reply-To: nightrecon@hotmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-82-127.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2015 00:29:09 -0000 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