Oracle Solaris Installation, Booting and Patching (MOSC)

MOSC Banner

pkg: uninstall dependencies

edited Apr 30, 2016 5:04AM in Oracle Solaris Installation, Booting and Patching (MOSC) 10 commentsAnswered

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?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center