rpmdep - display the full dependency of an installed rpm package

NAME

rpmdep - display the full dependency of an installed rpm package


DESCRIPTION

rpmdep search recursively for package dependencies. It resolvs all dependencies to package names. It can also prepare a file to build a graph of dependencies, with graphviz.


SYNOPSIS

rpmdep.pl [options] package

options:

   -help                brief help message
   -man                 full documentation
   -V, --version        print version
   -use-cache           use cache file instead rpm query
   -clear-cache         clear cache file
   -verbose             verbose
   -dot dotfile         build a dot file for graphviz

REQUIRED ARGUMENTS

the package to resolv


OPTIONS

-help

Print a brief help message and exits.

-man

Print the manual page and exits.

-version

Print the program release and exit.

-verbose

The program works and print debugging messages.

-dot

create a dot file to be used by graphviz

-use-cache

the rpm query may be long (10 to 30 s). If you will run an rpmorphan tool several time, this option will allow to gain a lot of time : it save the rpm query on a file cache (first call), then use this cache instead quering rpm (others calls).

-clear-cache

to remove cache file. Can be used with -use-cache to write a new cache.


USAGE

rpmdep.pl --use-cache -dot bash.dot bash

dot -Tps bash.dot -o bash.ps


FILES

the program can use the /tmp/rpmorphan.cache file


DIAGNOSTICS

the verbose mode allow to see all the recursive work

others messages are

package ... is not installed

this is not a name of an installed package

... has no dependencies

this can comes for some admin tools (ash for example)

... depends upon (list)

return a list of sorted and comma separated packages


EXIT STATUS

O if all is ok

>=1 if a problem


CONFIGURATION

nothing


DEPENDENCIES

you should use graphviz to build graph from


INCOMPATIBILITIES

not known


BUGS AND LIMITATIONS

the program does not work well on program installed with several versions


NOTES

this program can be used as "normal" user


SEE ALSO

rpmorphan(1)

rpmusage(1)

rpmduplicates(1)

rpmextra(1)


LICENSE AND COPYRIGHT

Copyright (C) 2008 by Eric Gerbier This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


AUTHOR

Eric Gerbier

you can report any bug or suggest to gerbier@users.sourceforge.net

 rpmdep - display the full dependency of an installed rpm package