rpmduplicates - Man Page
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 -remove ask to remove package -V, --version print version
Required Arguments
nothing
Options
- -help
Print a brief help message and exits.
- -man
Print the full manual page and exits.
- -remove
ask to remove suggested package
- -version
Print the program release and exit.
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
See Also
rpm(1) for rpm call
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@users.sourceforge.net
Referenced By
rpmdep(1), rpmextra(1), rpmorphan(1), rpmusage(1).