Date: Tue, 27 Jan 2015 09:32:23 +0000 From: Matthew Seaman <matthew@freebsd.org> To: freebsd-stable@freebsd.org Subject: Re: Recursively Deinstalling and Upgrading Packages/Ports without Breaking Dependencies? Message-ID: <54C75B27.7010800@freebsd.org> In-Reply-To: <CAHgj5TRYHbCKzVGvG4UzDO0LMZBRqUAsyk%2BiPcAwwUdtA36n-w@mail.gmail.com> References: <54C6CDB5.2040501@gmail.com> <54C73B84.1080704@infracaninophile.co.uk> <CAHgj5TRYHbCKzVGvG4UzDO0LMZBRqUAsyk%2BiPcAwwUdtA36n-w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54C75B27.7010800>