From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 08:50:00 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 066555E2 for ; Fri, 13 Mar 2015 08:50:00 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 893725E2 for ; Fri, 13 Mar 2015 08:49:59 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.1/8.15.1) with ESMTPSA id t2D8nb8O058729 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 13 Mar 2015 08:49:53 GMT (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk t2D8nb8O058729 Authentication-Results: smtp.infracaninophile.co.uk/t2D8nb8O058729; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <5502A4A0.8090704@freebsd.org> Date: Fri, 13 Mar 2015 08:49:36 +0000 From: Matthew Seaman 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 delete --no-recursive References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hG2DnKqE1sSqri79sn3wmIKBguB9wbfBN" X-Virus-Scanned: clamav-milter 0.98.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.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: Fri, 13 Mar 2015 08:50:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hG2DnKqE1sSqri79sn3wmIKBguB9wbfBN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. >=20 > 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. 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 --hG2DnKqE1sSqri79sn3wmIKBguB9wbfBN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJVAqSgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn2PsQAKZNjV5mUTdYDVAW+iMbbQOR tGvd2CdB/eVfxykuqEFSX8w14NqH1bz+TaJCCIx6S6dKq9FtL9YlAoKHSk9/Y3LI ne2Bgr+OYrYQuI2aL4XV1JjWsSuJJ8nlfpAxAylNNah+TBqoK4UiBWx8KAXWW8Cm pTDGi0IoarJlIjSPyVpDn+Avpg5XJDDGHBfuuye/YgFjD9hYOBVVg21rRBnrMa6H PtjO2oIlOuLq+ggmCSnxUQDAgtUlMopFVDryL+eYHJsVhTNsTRErb7raiT/Jj/Bg sRW+eLb58fjzpUbblsju71MQCGQZCchOGLR6eWTJJuq9jrPv5owth9CXr3qkGKQB RJL2gcqcPN32NL1XkPSG4yrAp78Fnl+dukt2mqZjodP3ECEJxpN5ZTBrn1WCm7U4 JPNeRsMCsaMUSgTc1lrmsb7n97U5euXVs97JCHkdNbop1cDBorUIyNcFpu9NDTj5 VLjBKl77lvgwLMapisfM2krLQ5SHaH5d0Hm9NovrKdC7LTyJbzWHGj0gT0vyqQ+8 /lTDar1yRqdsh3nbHcjR6Ix5f9vwWNkb2ID6IslwLDNDvaQyxU3QWtKZE8MAMk/2 Cl5rUQX9C+cCqCozMpbF1YtZ4ri/reLIsEbx5LPUupAMLIMsEBOfpKEgancOx0OT 6YlAVQtUl+gm8os5JlhM =KA6n -----END PGP SIGNATURE----- --hG2DnKqE1sSqri79sn3wmIKBguB9wbfBN--