urpm-repomanage(1) Mandriva Package Management urpm-repomanage(1)NAMEurpm-repomanage - report newest and oldest packages in a given set
SYNOPSISurpm-repomanage [-h] [-o | -n] [-r] [-s] [-k KEEP] [-c] [-q | -V] path
DESCRIPTIONurpm-repomanage is a program that scans directory of rpm packages and
report newest or oldest packages.
ARGUMENTS
path Path to directory with rpm packages. The tool traverses direcā
tory recursively and analyzes all RPM packages found
OPTIONS--help, -h
show help message and exit
--old, -o
print the older packages
--new, -n
print the newest packages (this is the default behavior)
--obsolete, -b
report obsolete packages; packages that obsolete themselves are
not taken into account
--remove-old, -r
remove older packages
--space, -s
space separated output, not newline
--keep KEEP, -k KEEP
number of newest packages to keep; defaults to 1
--nocheck, -c
do not check package payload signatures/digests
--quiet, -q
be completely quiet
--verbose, -V
be verbose - say which packages are decided to be old and why
(this info is dumped to STDERR)
EXIT CODES
0 - Suceess. The tool has run without any errors and old packages were
not found.
1 - No packages were found
2 - Illegal option or missing argument
3 - The tool has run successfully and detected old packages
EXAMPLES
Scan local directory with packages and for every package name print
only file with the latest version:
urpm-repomanage /tmp/repo
Scan local directory with packages, for every package detect two latest
versions and print older versions. For every old package, print names
of newer packages:
urpm-repomanage--old -V -k 2 /tmp/repo
Remove older packages in a local directory without printing anything to
terminal:
urpm-repomanage--remove-old -q /tmp/repo
AUTHORS
See the Authors file included with this program.
Denis Silakov 21 December 2011 urpm-repomanage(1)