rpmduplicates (1) - Linux Manuals

rpmduplicates: find program with several version installed

NAME

rpmduplicates - find program with several version installed

DESCRIPTION

sometimes, the upgrade of a system will install new packages, and ``forget'' to remove the older version. Rpmorphan do not work with this kind of unused packages. Rpmduplicates is the answer. I recommend to run it after each distribution upgrade (for example from fedora core 7 to 8).

SYNOPSIS

rpmduplicates.pl [options]

options:

   -help                brief help message
   -man                 full documentation
   -V, --version        print version

   -verbose             verbose

REQUIRED ARGUMENTS

nothing

OPTIONS

-help
Print a brief help message and exits.
-man
Print the full manual page and exits.
-version
Print the program release and exit.
-verbose
The program works and print debugging messages.

USAGE

rpmduplicates.pl

FILES

nothing

DIAGNOSTICS

it will show the duplicates with their version and build date

and suggest to remove the older one

example :

duplicate kernel-devel : 2.6.24.4-64.fc8 (Sat Mar 29 15:36:41 2008) / 2.6.24.3-50.fc8 (Thu Mar 20 20:43:47 2008)

suggest : rpm -e kernel-devel-2.6.24.3-50.fc8

EXIT STATUS

the number of duplicates packages found

CONFIGURATION

nothing

DEPENDENCIES

rpmorphan library

INCOMPATIBILITIES

not known

BUGS AND LIMITATIONS

not known

NOTES

this program can be used as ``normal'' user

the gpg-pubkey packages are excluded from the result

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 [at] users.sourceforge.net

SEE ALSO

rpm(1) for rpm call

rpmorphan(1)

rpmusage(1)

rpmdep(1)

rpmextra(1)