urpm-package-cleanup man page on OpenMandriva

Man page or keyword search:  
man Server   8135 pages
apropos Keyword Search (all sections)
Output format
OpenMandriva logo
[printable version]

urpm-package-cleanup(1)				       urpm-package-cleanup(1)

NAME
       urpm-package-cleanup - find and fix rpmdb problems

SYNOPSIS
       urpm-package-cleanup [options]

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

GENERAL OPTIONS
       -h, --help
	      Help; display a help message and then quit.

       -v, --version
	      Report program version and exit.

       --leaves
	      List leaf nodes in the local RPM database. Leaf nodes  are  RPMs
	      that are not relied upon by any other RPM.

       --orphans
	      List  installed  packages which are not available from currently
	      configured repositories. This  is	 identical  to	"urpmq	--not-
	      available".

       --oldkernels
	      Remove old kernel and kernel-devel packages.

       --problems
	      List dependency problems in the local RPM database.

       --dupes
	      Scan for duplicates in the local RPM database.

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

       --leaf-regex
	      A package name that matches this regular expression will be con‐
	      sidered a leaf.

       --exclude-devel
	      When listing leaf nodes do not list development packages.

       --exclude-bin
	      When  listing  leaf nodes do not list packages with files in bin
	      directories.

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

DUPLICATE PACKAGE OPTIONS
       --cleandupes
	      Scan for duplicates in the local RPM database and clean out  the
	      older versions.

       --noscripts
	      Disable rpm scriptlets from running when cleaning duplicates

DEPENDENCY PROBLEMS OPTIONS
       --suggests
	      List missing suggestions of installed packages

EXAMPLES
       List all dependency problems:
	      urpm-package-cleanup --problems

       List all packages that are not in any configured repository:
	      urpm-package-cleanup --orphans

       Remove  old  kernels  keeping  3	 and leaving old kernel-devel packages
       installed:
	      urpm-package-cleanup --oldkernels --count=3 --keepdevel

       List all leaf packages with no files in	a  bin	directory  whose  name
       begins with either 'perl' or 'python':
	      urpm-package-cleanup	--leaves     --exclude-bin     --leaf-
	      regex="^(perl)|(python)"

FILES
       For some actions urpm-package-cleanup invokes urpmi and relies  on  its
       configuration file:

       /etc/urpmi/urpmi.cfg

EXIT CODES
       0      Completed successfully

       1      Script  execution error (wrong option, insufficient permissions,
	      etc.)

       2      Unsatisfied dependencies detected

       3      Unsatisfied soft dependencies detected

       100    Illegal option value

SEE ALSO
       urpmi.cfg (1)

AUTHORS
       See the Authors file included with this program.

Denis Silakov		       21 December 2011	       urpm-package-cleanup(1)
[top]

List of man pages available for OpenMandriva

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net