From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 15:03:49 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 05B0F948 for ; Tue, 24 Mar 2015 15:03:49 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C08485E6 for ; Tue, 24 Mar 2015 15:03:48 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-22.adsl.hiwaay.net [216.180.19.22]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2OF3kvQ004208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 24 Mar 2015 10:03:46 -0500 Message-ID: <55117E49.30103@hiwaay.net> Date: Tue, 24 Mar 2015 10:10:01 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg upgrade issue References: <5510A5FF.8060900@hiwaay.net> <55111373.4070506@FreeBSD.org> In-Reply-To: <55111373.4070506@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 24 Mar 2015 15:03:49 -0000 On 03/24/15 02:34, Matthew Seaman wrote: > On 23/03/2015 23:47, William A. Mahaffey III wrote: >> After the previously mentioned issue w/ freebsd-update, I decided to >> upgrade my installed pkg's while I was in console mode & logged in as >> root. I attach the output from the proceedings. I last pkg-upgraded >> about 1 month ago & haven't installed any new stuff since then. FreeBSD >> 9.3-RELEASE-p10, running only GENERIC kernels & std. pkgs, w/ 1 >> exception, libflash-whatever to support flash in FireFox & opera. Need >> anything else, just ask. TIA .... > You've run into a known pkg bug which is fixed in what will be the next > release. In your case, it manifests as a conflict between upgrading > from php-5.4.x to php-5.6.x (which is a change in the default PHP > version in ports IIRC) and individual updates of php modules from 5.4.37 > to 5.4.38. Plus a similar change from ruby20 to ruby21. > > Assuming you're using the default FreeBSD package repositories, you'll > want to transition to php56. You can beat the conflicts checking into > submission by doing something like this: > > pkg install -f php56 (which should result in php54 being > removed, but not the php54-modules) > pkg upgrade > > You might need to play around with this approach a bit in order to get > everything working well. Some combination of forcing updates of key > packages, or deleting key packages, upgrading everything else and then > reinstalling what you deleted should eventually work. > > Be sure to pay attention to what pkg says it is going to delete -- it is > unfortunately quite easy to end up accidentally deleting something you > actually wanted installed. > > Cheers, > > Matthew > Thanks, this got me going. I had tried 'pkg install -y php56' before, still nogo. The '-f' still didn't work the 1st time, but listed the problem pkg's, which I manually deleted, then did the 'install -f php56', which worked AOK, then the upgrade, which also worked AOK :-). *Yippeeee* !!!! Now if I can get that freebsd-update situation fixed .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.