Recursively Deinstalling and Upgrading Packages/Ports without Breaking Dependencies?
Matthew Seaman
matthew at freebsd.org
Tue Jan 27 09:32:53 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150127/0309c5c7/attachment.sig>
More information about the freebsd-stable
mailing list