Re: Package and port dependencies
- Reply: Johan Helsingius : "Re: Package and port dependencies"
- In reply to: Johan Helsingius : "Re: Package and port dependencies"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Dec 2024 20:09:09 UTC
Also, pkg remove <pkg> would prompt you for confirmation of the actions that are about to be taken as a result of your request, and there you’d be able to see the full list of packages that’d be removed if you do confirm. So, if you request removal of pkgA, and pkgB depends on it, and pkgC in turn depends on pkgB, you’d surely see all of those scheduled for removal as a result of your initial request, because the pkg tool always tries to maintain an consistent dependency graph. That’d allow you to make up your mind as to whether or not you really want to remove pkgA. Just be careful, when you’re performing such experimentations, to NEVER issue a ‘pkg remove -y $pkg’ command, as in that case pkg will have carte blanche to do as it pleases without asking anything. Regards, > On Dec 11, 2024, at 10:10 AM, Johan Helsingius <julf@Julf.com> wrote: > > On 11/12/2024 12:37, Arthur Chance wrote: >> pkg info -r <pkg> >> gives reverse dependencies of the package, i.e. those installed packages >> that require it. > > Great! Thanks! > > Julf > >