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

rpmorphan(1)

rpmusage(1)

rpmdep(1)

rpmextra(1)

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).

2024-07-19 perl v5.40.0 User Contributed Perl Documentation