From owner-freebsd-questions@FreeBSD.ORG Mon Mar 16 21:49:15 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 3C901729 for ; Mon, 16 Mar 2015 21:49:15 +0000 (UTC) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F2A2C6D for ; Mon, 16 Mar 2015 21:49:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id 78A2A39DC2E for ; Mon, 16 Mar 2015 14:49:13 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 78846-03 for ; Mon, 16 Mar 2015 14:49:13 -0700 (PDT) Received: from dhcp130.eng.networktest.com (ns.networktest.com [12.20.174.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 22B4639DC2D for ; Mon, 16 Mar 2015 14:49:12 -0700 (PDT) Message-ID: <55074FD8.6010508@networktest.com> Date: Mon, 16 Mar 2015 14:49:12 -0700 From: David Newman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg delete --no-recursive References: <5502A4A0.8090704@freebsd.org> <55070A5B.80201@networktest.com> <55071554.5050904@infracaninophile.co.uk> In-Reply-To: <55071554.5050904@infracaninophile.co.uk> Content-Type: text/plain; charset=windows-1252 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: Mon, 16 Mar 2015 21:49:15 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/16/15 10:39 AM, Matthew Seaman wrote: > On 2015/03/16 16:52, David Newman wrote: >>> The best way to do a perl5.14 to perl5.20 upgrade is by simply >>>> upgrading from a package repo with all the perl stuff built >>>> against perl5.20. Works like a charm, and only reinstalls the >>>> necessary stuff. > >> What command(s), specifically, to use? > > pkg upgrade > > So long as the repo(s) you're using are all consistent in being > built against the versions of perl or php or whatever that you want > to use, that should do what you want. Generally it "just > works"(tm). If it doesn't and it isn't obvious as to how to fix > the problem (usually something along the lines of 'delete pkg X, > upgrade everything else, reinstall pkg X') then ask again here. OK, I'll take you up on that. :-) I've got a FreeBSD 10.1-RELEASE box with 25 php55 packages installed. There's nothing about php in /etc/make.conf, and according to /usr/ports/UPDATING, the current default version of php is 5.6. However, 'pkg update && pkg upgrade' doesn't touch the php packages. I don't particularly _need_ php56* on this box, but I'd like to understand what the expected behavior is. Thanks! dn pkg(8) will tell you what it is > going to do before it does anything, so you have plenty of chances > to stop before you trash anything important. > > Cheers, > > Matthew > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - http://gpgtools.org iQIcBAEBAgAGBQJVB0/XAAoJEDoYs7vtFALa/MYP/3oravGWIj5BHMqXrJXK5tYR tZp+SoJCnNLJcez7BfKg6WxTkMXDZJ2uGyL0lW5/h9yC4gEREmF2AG6OK+FGp+CT UaCe8cHDjj7BhkMdS/DbB26Aml2QC8MAwC7ga/75iW8wPWtmJgthn8/GAWE5RUiz FrQZ2DAKlsYyrdhL9UdVToWl1/yqY1IisdreYy6nrgTddSBhmlzNcALReBfrO0Kr K0ZjRxfsERmS5EMJUrMsy5SeqDSsUlhUVHtlVQWJSO9bI4uF1t1ah1HJq2mAFD8t 6oxLOCAgDCgmIMJkRS+pzhmXFdK9nJlxrq/Z8ndhquyHz5ODJVsJLDm5o4Nx1rDu sgZlULuHqEN6fn11kNZu/4I5NRNj5+3MHgNDiX5qB/V4CPsC3GB5KwUV4d1WO62d 02HwBOoO+FGcA3F6uH7kxUsIAfUBhNRqRNRVtKtiMao0hybQd2AHekQcisODSSa3 mTNztztK953v2dPu+UjTyGQLkK4vwR3q198qMwClXN1m0PTZtv7y8T+10z213x5S BOT7snDpKpA6G2unDFNTaHe8d+K4HJ+25QCA5cSuc4u8yzSSlllVQFO31NmFSosz SaXWB89qefczHipBSvBozg+OeSQy5zjA19TlWop+4RCXGxhk3FbObNZ1b3n9UF/2 xRxJux9fsXSleNocTPip =4SsU -----END PGP SIGNATURE-----