List non-mandatory leaf packages [CentOS 5.4]
Hello.
I am searching for a program which may be used in order to display a list of "leaf" packages (i.e. installed packages upon which no other installed packages depend), but only those "leaf" packages which are not marked as being mandatory packages belonging to some installed group. For example, assume we have package group "Example" which comprises the following packages:
Format: <package name> [ <group priority>; <install status>; <leaf status> ] The tool, when run, should only display "extra-package-alpha" from the "Example" group, because:
If such a tool does not exist, I would like to create it. However, I am new to RPM-based systems, and, as such, I am having difficulties finding the necessary documentation. Should I be reading the yum source code? Is there some sort of document describing the package database on RH/CentOS/etc. systems and how 3rd party applications are supposed to work with this database? |
Maybe rpmorphan?
rpmorphan finds "orphaned" packages on your system. It determines which packages have no other packages depending on their installation, and shows you a list of these packages. (http://rpmorphan.sourceforge.net) |
Thank you very much.
|
All times are GMT -5. The time now is 04:49 PM. |