1package-cleanup(1) package-cleanup(1)
2
3
4
6 package-cleanup
7
9 package-cleanup [options] <item ...>
10
12 package-cleanup is a program for cleaning up the locally-installed
13 RPMs.
14
16 -c <config file>
17 Use alternative config file (default is /etc/yum.conf).
18
19 -h, --help
20 Help; display a help message and then quit.
21
22 -q, --quiet
23 Print out nothing unecessary.
24
25 -v, --version
26 Report program version and exit.
27
28 -y Agree to anything asked.
29
30 --leaves
31 List leaf nodes in the local RPM database. Leaf nodes are RPMs
32 that are not relied upon by any other RPM.
33
34 --orphans
35 List installed packages which are not available from currenly
36 configured repositories.
37
38 --oldkernels
39 Remove old kernel and kernel-devel packages.
40
41 --problems
42 List dependency problems in the local RPM database.
43
45 --all When listing leaf nodes also list leaf nodes that are not
46 libraries.
47
49 --count <COUNT>
50 Number of kernel packages to keep on the system (default 2)
51
52 --keepdevel
53 Do not remove kernel-devel packages when removing kernels
54
55
57 List all dependency problems:
58 package-cleanup --problems
59
60 List all packages that are not in any Yum repository:
61 package-cleanup --orphans
62
63 Remove old kernels keeping 3 and leaving old kernel-devel packages
64 installed:
65 package-cleanup --oldkernels --count=3 --keepdevel
66
68 As package-cleanup uses YUM libraries for retrieving all the informa‐
69 tion, it relies on YUM configuration for its default values like which
70 repositories to use. Consult YUM documentation for details:
71
72 /etc/yum.conf
73 /etc/yum/repos.d/
74 /var/cache/yum/
75
76
78 yum.conf [4m(5)
79 http://linux.duke.edu/yum/
80
81
83 See the Authors file included with this program.
84
85
87 There of course aren't any bugs, but if you find any, they should be
88 sent to the mailing list: yum@lists.linux.duke.edu or filed in
89 bugzilla.
90
91
92
93Gijs Hollestelle 2005 Nov 3 package-cleanup(1)