On Thu, 25 Feb 2021, cretin1997 via openindiana-discuss wrote:
; On Debian, after I uninstalled a package, there will be it dependencies that no longer needed still left. This simple command will remove all of them: ; ; apt autoremove ; ; What is the equivalent command for pkg? As others have said, there is not an equivalent yet. However, OmniOS just gained support for `pkg list -r` which lists packages that have no dependencies and could be removed. https://github.com/omniosorg/pkg5/commit/afdd749e3246ed92d2e574c It should be relatively straightforward to port to OpenIndiana's `pkg` too. Adding `pkg autoremove` would be possible but would require more state to be kept on whether packages were installed manually. That metadata is just not there at present. Andy _______________________________________________ openindiana-discuss mailing list [email protected] https://openindiana.org/mailman/listinfo/openindiana-discuss
