[OpenIndiana-discuss] IPS idiom for local packages with no dependencies

Tim Mooney Tim.Mooney at ndsu.edu
Wed Feb 6 21:43:46 UTC 2019


All-

Anyone know a good way to find all locally-installed packages that aren't
listed as a dependency for any other locally installed packages?  I
can iterate through the contents of 'pkg list' and run 'pkg search -l -o
pkg.name depend::<each package here>', but is there a better way?

As I've applied updates to hipster over the years and the defaults change
from something like developer-gcc49 to developer/gcc-6, it's sometimes
the case that some old packages are kept, when I don't really need them
any longer.

Short of doing a fresh re-install, I'm just looking to do some cleanup
of packages that have been replaced with a newer version that might be
under a different name.

Thanks,

Tim
-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building                  701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



More information about the openindiana-discuss mailing list