From owner-freebsd-stable@FreeBSD.ORG Tue Jan 27 09:32:53 2015 Return-Path: Delivered-To: freebsd-stable@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 1714FF46 for ; Tue, 27 Jan 2015 09:32:53 +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 9BA71B58 for ; Tue, 27 Jan 2015 09:32:52 +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 t0R9WVGE062091 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 27 Jan 2015 09:32:37 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 t0R9WVGE062091 Authentication-Results: smtp.infracaninophile.co.uk/t0R9WVGE062091; 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: <54C75B27.7010800@freebsd.org> Date: Tue, 27 Jan 2015 09:32:23 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Recursively Deinstalling and Upgrading Packages/Ports without Breaking Dependencies? References: <54C6CDB5.2040501@gmail.com> <54C73B84.1080704@infracaninophile.co.uk> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jETBN8RXqQCT3b7oUvmVSAc13SeV60knm" X-Virus-Scanned: clamav-milter 0.98.5 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-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 09:32:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jETBN8RXqQCT3b7oUvmVSAc13SeV60knm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/27/15 08:13, Chris Knight wrote: > That only works if the dependencies were added as automatic > dependencies. Won't work if the dependency wasn't automatically added > as part of the package's prerequisites for installation. Yes. This is IMHO one of the things that pkg2ng is rather deficient at. However, it is fairly easy to toggle the 'automatic' bit, and given you know which packages you installed specifically to use, writing a quick script to set those to not automatic and everything else to automatic is pretty trivial. Well worth doing when converting from the old package tools. After that, pkg seems to keep that automatic bits pretty well in line with your intentions just through normal usage, and shouldn't need any more than an occasional fixup or use of '-A' with pkg install. Cheers, Matthew --jETBN8RXqQCT3b7oUvmVSAc13SeV60knm 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 iQJ8BAEBCgBmBQJUx1svXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn2hMQAJupJ/BvzEDZiW802Ddktq5C VkQU9nUVY7u1Fh5d5aRB61uTnpz3fMUKm3fipBaD7CgO1uUyUKmQopoVfSOr8TKQ KxC77krqf8nb8J9gJpTOAJW6z04ulxds0ZcucFxXt75T75084qOEZwUFLlAzt0+K Ln2Oli7/pHj9ucmJHV4TGKUG1UfZIneXeLvO/XkFFSUpgd/4w49hJKewZj2uG+kw PoFvkDy472t8VTBo22sqOdAH00+cfRPciv6BVdMaPxISShYur4Rf9bOljPGP31N2 bjjJhiNb6ALcla6+jCkMYti2p0Wmt5tlyizRsIci8nJYOK32KQ1UY2I39PGdsZ06 QKW09xi6kG3kqS6QPxFxhLv8W+aKH1hHtNWCUFUsG/mr0t011D2SZ0Pe3r5qOn3C 89ZF2osVyluQuBy1YhywPbwzieHTp8+sj8JlP1PozTXf/p/RiZLNvAoQfZxGxAN9 MXqVmGLFNECZSkaNgXEDlWYuFgmeceJE8xl/5mT3EEr6GiGhtCFbwi4a129lAWKJ sbNUgg7uYDkxpSrheXJPOnaN1Oh+j4ZdMBX9VtSex5tOiAziDvIZDKh6yn5LEzwb IMDk0L0Ci8HAun1N3LN9hN09WN69NXSl0cy+YVISsZsvLI3SiK5lkfCwOSLu1C64 Z2t7NWrueLwcrcYOoFqq =QTHZ -----END PGP SIGNATURE----- --jETBN8RXqQCT3b7oUvmVSAc13SeV60knm--