From owner-freebsd-questions@FreeBSD.ORG Mon Mar 16 17:02:18 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 D16B1FB0 for ; Mon, 16 Mar 2015 17:02:18 +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 A978517F for ; Mon, 16 Mar 2015 17:02:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id 87F6C39DC2E for ; Mon, 16 Mar 2015 09:52:44 -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 76615-02 for ; Mon, 16 Mar 2015 09:52:44 -0700 (PDT) Received: from tejay-2.local (cpe-75-82-83-187.socal.res.rr.com [75.82.83.187]) (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 30B4239DC2D for ; Mon, 16 Mar 2015 09:52:44 -0700 (PDT) Message-ID: <55070A5B.80201@networktest.com> Date: Mon, 16 Mar 2015 09:52:43 -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> In-Reply-To: <5502A4A0.8090704@freebsd.org> Content-Type: text/plain; charset=utf-8 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 17:02:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/13/15 1:49 AM, Matthew Seaman wrote: > On 03/13/15 08:27, Olivier Nicole wrote: >> How to tell pkg delete to remove only *this* package and not all >> the ones that depends on it. > > pkg delete -f pkgname > >> There is a --recursive option, but it is applied by default and I >> don't see how to disable it. >> >> My goal is to remove perl5.14 in order to install perl5.20. All >> other packages that depend on perl5.14 will be rebuild afterward, >> so the dependecy will be updated accordingly. >> >> But in no case I want to delete all packages depending on perl, I >> *do* need them. > > 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? I also have the same problem upgrading php5 and php55 to php56. Thanks dn > > Trying to work out all this dependency stuff by hand tends to be > error-prone, tedious and leave your system in a bit of a mess. > > Cheers, > > Matthew > > -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - http://gpgtools.org iQIcBAEBAgAGBQJVBwpbAAoJEDoYs7vtFALaNyMQAJtLwAp2PChzENYX6d3KObPk VKHeSDH3fnKHDCjN1m4/JAJD3HqifbI/B4oi8JHpq58l9Nj77IeE/aumV24qZ+zx 3gM7FC7CsEr0ZKSwAg3Wlv5Xwn73Fabnqgp+nnv4hQwiHlnq51PV/mElUxB8V+Pd IXTvMjDMvKL3GccvlgLzvLYC9Wg4Yyab0SN1tM8IQha/E4Mvv88jNXYqYIaQgCuh OYYDS/Mo6ShherqoYeYvFbzM/0rJ+Gzc1xD22YroZJFMvMj26DX7KQihKIv3Cjct 2HUxde49edV5AFJk+IxzQDmgFvD0BXwwvYTpSKbMaaBKmJyFeDI/VmbAy1j/KB/v i6eu/3GdR/E75F56IfJgA6Moq9Vz9JTPM61rpIHdA0Em1iAgUGab5XZHuaUhmiij S3oQZULLEAIP0Pd1DwXtrlU2k+YCbPMsTYl5oaaQLcbi4xVlgMAEcdWTFHXFatdL 5eAVUeM2Zi90WHPsf4TRu62Gq4ZMrx5rXpvxpS/ExiiJasfN8HEvJh320B2FLvkd V58E+n0aj2lGDrSkL4sjsY2+PDoPJrzdoyUewep27ASmDw6Z+ZSbU68h28b8J1Zx KC+5n31yfkwTaaIWccsZ7QW4290C1yFQLAcLK09ovm04CTGOYrskfIIpkHXzsp+h iHfhZIWtp1lq2AS5mpYs =JUiq -----END PGP SIGNATURE-----