-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I came into a similar problem, and wrote this php script that you can run via command line; it will give you all deps based on rpm -qpR and rpm -qR commands. Although i never used it, feel free to do what you like with it. Hope it helps. On Wed, 27 Dec 2006 12:07:14 -0700 (MST) "Matt Sturtz" <rh-kickstart@xxxxxxxxxxxxx> wrote: > Hi-- > > I wanted pear down the RPMS directory after I was done editing > comps.xml to fit my needs. A lot of packages are no longer required, > and I wanted to eliminate them. I started with a script that simply > removes all packages that aren't mentioned in my customized comps.xml > -- but that eliminates packages like bind-libs, which I know is > needed to satisfy a dependancy, even though it isn't mentioned in > comps.xml (bind-utils depends on libdns, which is provided by > bind-libs). > > Anybody know of a tool I can use to remove the packages that aren't > required while leaving those that are, and those that satisfy > dependancies for those that are? The idea of querying dependancies > for every single package doesn't thrill me... Kickstarting a box, > and then removing all the packages that didn't end up on that box > sounds even worse... > > -Matt- > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/kickstart-list - -- \\ Mathew Rowley \\ eSoft Inc. \\ email: echo 'kpmujcw>cqmdr,amk'|perl -pe 's/(.)/chr(ord($1)+2)/ge;' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFksRX47s/xIwy7o0RAvubAJ94wcGyB1VAMw5/FZZd947lC9Ar7wCcD4T7 7JV+CVwVcJZNEimhG7T8WPk= =VSDN -----END PGP SIGNATURE-----
Attachment:
rpmRecurDep.php
Description: application/php