pkg: uninstall dependencies
Hello,
how do i remove the dependencies of a package?
Imagine i have a Solaris 11.3 machine with the solaris-small-server group installed. I then "pkg install gnu-emacs-x11" cause someone needs it. This will pull in 61 additional packages. So far so good. Imagine further that month later the user who needed the emacs doesn't need it anymore. In the meantime other packages were installed. I'll do a "pkg uninstall gnu-emacs-x11". Only that package is removed (actually one would need to do "pkg uninstall gnu-emacs-x11 gnu-emacs"). So 60 packages are left on the machine, probably not needed at all anymore. How do i get rid of that cruft?