From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 00:11:45 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 6EC93D84; Mon, 2 Mar 2015 00:11:45 +0000 (UTC) Received: from sdf.org (ma.sdf.org [192.94.73.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ma.sdf.org", Issuer "ma.sdf.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 506F09E4; Mon, 2 Mar 2015 00:11:44 +0000 (UTC) Received: from ma.sdf.org (IDENT:U2FsdGVkX1/8nChwmsptDsLEJE+93NX1pCOmiYyrSiE@ma.sdf.org [192.94.73.31]) by sdf.org (8.14.4/8.14.3) with ESMTP id t220BbLB029158; Mon, 2 Mar 2015 00:11:37 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 01 Mar 2015 18:11:37 -0600 From: cpet To: David Newman Subject: Re: 'pkg upgrade' wants to install php56 In-Reply-To: <54F399EF.3090908@networktest.com> References: <54F399EF.3090908@networktest.com> Message-ID: <5011c0aa794c7c398b8c9af50641321a@sdf.org> X-Sender: cpet@sdf.org User-Agent: Roundcube Webmail/1.0.1 Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org 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:11:45 -0000 On 2015-03-01 16:59, 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. > > There's nothing in /etc/make.conf forcing version numbers. > > 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? > > Thanks > > dn > > [dnewman@somehost ~]$ sudo pkg upgrade > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > Checking for upgrades (47 candidates): 100% > Processing candidates (47 candidates): 100% > The following 41 packages will be affected (of 0 checked): > > New packages to be INSTALLED: > php56: 5.6.6 > > Installed packages to be UPGRADED: > php5-zlib: 5.4.37 -> 5.4.38 > php5-xmlwriter: 5.4.37 -> 5.4.38 > php5-xmlreader: 5.4.37 -> 5.4.38 > php5-xml: 5.4.37 -> 5.4.38 > > ... > > Installed packages to be REINSTALLED: > php-libawl-0.54 (direct dependency changed) > > The process will require 15 MiB more space. > 13 MiB to be downloaded. > > Proceed with this action? [y/N]: > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Read updating default php version has been updated to 5.6 and pkg doesn't know this easy fix is in UPDATING.