From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 09:43:05 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E1F0F22 for ; Mon, 2 Mar 2015 09:43:05 +0000 (UTC) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F2AD90F for ; Mon, 2 Mar 2015 09:43:03 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id yZit1p004516WCc01ZiuQz; Mon, 02 Mar 2015 09:42:54 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=etFRz+ZX c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=kj9zAlcOel0A:10 a=emO1SXQWCLwA:10 a=-as0FERkAAAA:8 a=qYEZ4emEx_QlGfdNjXwA:9 a=CjuIK1q_8ugA:10 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.85) (envelope-from ) id 1YSMsF-0000kd-QV for freebsd-questions@freebsd.org; Mon, 02 Mar 2015 09:42:53 +0000 Date: Mon, 2 Mar 2015 09:42:51 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Message-ID: <20150302094251.49dbfe7e@curlew.lan> In-Reply-To: <54F3C065.8080606@networktest.com> References: <54F399EF.3090908@networktest.com> <54F3C065.8080606@networktest.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.0) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: 'pkg upgrade' wants to install php56 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) 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 09:43:05 -0000 On Sun, 01 Mar 2015 17:44:05 -0800 David Newman wrote: > Thanks for your responses. Please note that I'm asking about pkg on > systems that don't have a ports tree, so also no UPDATING file. Here's the relevant bit of /usr/ports/UPDATING --------------------------------------------------------------------- 20150220: AFFECTS: users of PHP The default PHP version has been updated from 5.4 to 5.6. If you use binary packages you should make a list of php packages before running 'pkg upgrade': # pkg info php5\* > ~/installed-php-ports-list After the upgrade, check with such list if all your php extensions are still installed, and reinstall them if needed. --------------------------------------------------------------------- Even if you had a copy of UPDATING "pkg updating" would not have shown it, probably because the "AFFECTS" linr doesn't match lang/php. Unfortunately following the instructions didn't fix the problem for me. When I ran "pkg upgrade" it just bailed out when it found the first conflict, My solution was to make a list of my php5 packages as above and then delete them all: curlew:/root# cat ~/installed-php-ports-list | xargs pkg delete -fy If you have mod_php5 installed you will need to use pkg delete to remove it separately because the pkg info command won't have picked it up for inclusion in ~/installed-php-ports-list. Then go ahead with pkg upgrade. If you previously had php5*-extensions installed run "pkg install php56-extensions" after the upgrade, Now run "pkg info php5\*" and compare the results against your copy of ~/installed-php-ports-list to determine if any further extensions require installing. -- Mike Clarke