package-cleanup

Langue: en

Version: 2005 Nov 3 (fedora - 16/08/07)

Section: 1 (Commandes utilisateur)

NAME

package-cleanup

SYNOPSIS

package-cleanup [options] <item ...>

DESCRIPTION

package-cleanup is a program for cleaning up the locally-installed RPMs.

GENERAL OPTIONS

-v, --version
Report program version and exit.
-h, --help
Help; display a help message and then quit.
-q, --quiet
Print out nothing unecessary.
-y
Agree to anything asked.
-c <config file>
Use alternative config file (default is /etc/yum.conf).
--problems
List dependency problems in the local RPM database.
--leaves
List leaf nodes in the local RPM database. Leaf nodes are RPMs that are not relied upon by any other RPM.
--problems
List dependency problems in the local RPM database.
--orphans
List installed packages which are not available from currenly configured repositories.
--oldkernels
Remove old kernel and kernel-devel packages.

LEAVES OPTIONS

--all
When listing leaf nodes also list leaf nodes that are not libraries.

OLDKERNELS OPTIONS

--count <COUNT>
Number of kernel packages to keep on the system (default 2)
--keepdevel
Do not remove kernel-devel packages when removing kernels

EXAMPLES

List all dependency problems:
package-cleanup --problems
List all packages that are not in any Yum repository:
package-cleanup --orphans
Remove old kernels keeping 3 and leaving old kernel-devel packages installed:
package-cleanup --oldkernels --count=3 --keepdevel

FILES

As package-cleanup uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which repositories to use. Consult YUM documentation for details:
/etc/yum.conf
/etc/yum/repos.d/
/var/cache/yum/

SEE ALSO

yum.conf (5)
http://linux.duke.edu/yum/

AUTHORS

See the Authors file included with this program.

BUGS

There of course aren't any bugs, but if you find any, they should be sent to the mailing list: yum@lists.linux.duke.edu or filed in bugzilla.