1RPMDEP(1)             User Contributed Perl Documentation            RPMDEP(1)
2
3
4

NAME

6       rpmdep - display the full dependency of an installed rpm package
7

DESCRIPTION

9       rpmdep is an improved 'rpm -qR' command : it search recursively for
10       package dependencies, and resolves all dependencies to package names.
11       It can also prepare a file to build a graph of dependencies, with
12       graphviz.
13

SYNOPSIS

15       rpmdep.pl  [options] package
16
17       options:
18
19          -help                brief help message
20          -man                 full documentation
21          -V, --version        print version
22          -use-cache           use cache file instead rpm query
23          -clear-cache         clear cache file
24
25          -level               display dependencies by level
26          -debug               debug mode
27          -dot dotfile         build a dot file for graphviz
28          -depending           instead of dependencies, display dependings
29          -all                 works on all installed packages
30

REQUIRED ARGUMENTS

32       a package to analyse. Only one name may be given.  It is not necessary
33       if you are using the -all option.
34

OPTIONS

36       -help   Print a brief help message and exits.
37
38       -man    Print the manual page and exits.
39
40       -version
41               Print the program release and exit.
42
43       -debug  The program works and print debugging messages.
44
45       -level  The program also print dependencies by level
46
47       -dot    create a dot file to be used by graphviz.  in normal call, an
48               arrow from a to b means that a package depends (uses) b
49               package.  in dependings call, an arrow from a to b means that a
50               package is used by b package.
51
52       -use-cache
53               the rpm query may be long (10 to 30 s). If you will run an
54               rpmorphan tool several time, this option will allow to gain a
55               lot of time : it save the rpm query on a file cache (first
56               call), then use this cache instead quering rpm (others calls).
57
58       -clear-cache
59               to remove cache file. Can be used with -use-cache to write a
60               new cache.
61
62       --depending
63               instead of showing package dependencies (rpm -qR), display
64               packages wich are depending upon the given argument : it then
65               act as an improved 'rpm -q --whatrequires' command
66
67       --all   rpmdep will then work on all installed packages, and display
68               the results sorted by the number of depends (or dependings).
69

USAGE

71       get the full list of dependencies for rpmrebuild package
72
73         rpmdep.pl rpmrebuild
74
75       get the full list of dependencies for rpmrestore package and build the
76       graph data file (rpmrestore.dot)
77
78         rpmdep.pl -dot rpmrestore.dot rpmrestore
79
80       build a png graph image from the graph data
81
82         dot -Tpng rpmrestore.dot -o rpmrestore.png
83
84       get depending package of perl
85
86         rpmdep.pl --depending perl
87
88       check is a package is an orphan
89
90         rpmdep.pl --depending afick-gui
91
92       list all package dependencies
93
94         rpmdep.pl -a
95
96       list all packages dependings and prepare a graph
97
98         rpmdep.pl -a --depending --dot alldep.dot
99

FILES

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

DIAGNOSTICS

104       the debug mode allow to see all the recursive work
105
106       others messages are
107
108       package ... is not installed
109               this is not a name of an installed package
110
111       ... has no dependencies
112               this can comes for some admin tools (ash for example)
113
114       ... depends upon (list)
115               return a list of sorted and comma separated packages
116
117       ... is needed by (list)
118               return the depending package list
119
120       no depending : ... is an orphan
121               the given package has no depending packages : it is an orphan
122

EXIT STATUS

124       O if all is ok
125
126       >=1 if a problem
127

CONFIGURATION

129       nothing
130

DEPENDENCIES

132       you should use graphviz to build graph from
133

INCOMPATIBILITIES

135       not known
136

BUGS AND LIMITATIONS

138       the program does not work well on program installed in several versions
139

NOTES

141       this program can be used as "normal" user
142

SEE ALSO

144       rpm(1) for rpm call
145
146       rpmorphan(1)
147
148       rpmusage(1)
149
150       rpmduplicates(1)
151
152       rpmextra(1)
153
155       Copyright (C) 2008 by Eric Gerbier This program is free software; you
156       can redistribute it and/or modify it under the terms of the GNU General
157       Public License as published by the Free Software Foundation; either
158       version 2 of the License, or (at your option) any later version.
159

AUTHOR

161       Eric Gerbier
162
163       you can report any bug or suggest to gerbier@users.sourceforge.net
164
165
166
167perl v5.24.1                      2017-07-14                         RPMDEP(1)
Impressum