pkg_orphan Find installed pkgsrc packages which are not dependencies of any other packages (orphans). No options or arguments, just run the script and it will print a list of detected orphans. Uses /usr/sbin/pkg_info.