On Tue, Dec 12, 2006 at 12:57:15PM +0000, Frank Murphy wrote:
> This was the puppy.
> rpm -qa | head | xargs rpm -qi --whatrequires
>> had to drop "-10" to test
> Gave me a list of prms not owned by anything
Unless the rpm implementation in Suse is very different to RedHat's its
not quite that simple to work out what rpms are not required.
One of the problems with dependency resolution with rpms is that an rpm
may provide a library and that library may be required by a another
package, but the rpm query will not pick this up.
rpmA provides libA
rpmB requires libA
rpm -q --whatrequires rpmA
will not return rpmB
for that you need
rpm -q --whatrequires libA
For each package in the list generated, you need to query the rpmdb for
what they provide and then for each of those check that no package
requires them.
--
Darragh
"Nothing is foolproof to a sufficently talented fool."
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!