thankz alex, but doesn't that show what requires that package ?
ie. rpm --redhatrequires nmap-frontend-3.70-1.i386.rpm
no packages requires nmap-frontend......
where as I was looking the other way round... what does nmap-fronend require ?
You'll need to write yourself a little script.
Step 1. Do "rpm -qp --requires nmap-frontend-3.70-1.i386.rpm" to get the list of dependencies.
Step 2. For each dependency, do "rpm --redhatrequires $dependency"
Step 3: Create a sorted list of all of the packages that are listed in step 2.
Paul.