rpm dependency

Paul Howarth paul at city-fan.org
Fri Nov 12 14:01:46 UTC 2004


[LINICKX] wrote:
> 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.




More information about the users mailing list