Fink should support an '--orphans' option to its 'list' command that mirrors the functionality of 'package-cleanup --orphans' command in yum. Executing 'fink list --orphans' would emit a list of packages installed which are no listed in the virtual package set nor listed among the packages buildable with the current package file set. Adding this functionality would provide a nice way for users to prune out packages that have been depreciated out of the 10.9-libc++ package set but are still installed on their machine after upgrading from the 10.7 package set.
How is this different than "fink list -N"?
For users looking for the --orphaned functionality, the existing documentation is a little unclear as...
is focused on finding which installed packages are newer than described in the existing package set. It would be nice to have a permutation of that command (initially just as an alias of the exisitng -N option) which would be explictly described as listing those packages not present in the existing fink package set.
OK, so it's no different, since "newer than the existing package set" encompasses packages which aren't present in that set.
Since we already use -o for "outdated", I'd rather just change the help documentation to add something like "including packages which are no longer present in the current distribution" rather than adding an additional flag.
Last edit: Alexander Hansen 2015-11-15
A feature branch on github (https://github.com/fink/fink/pull/127) produces the following change in 'fink list --help' (and a similar one regarding the *i* status.
Last edit: Alexander Hansen 2015-11-16
Branch was merged into master 2 years ago. Closing.