mirror of
https://abf.rosa.ru/djam/urpm-tools.git
synced 2025-02-23 09:22:47 +00:00
58 lines
2.1 KiB
Groff
58 lines
2.1 KiB
Groff
.\" urpm-repomanage
|
|
.TH "urpm-repomanage" "1" "21 December 2011" "Denis Silakov" "Mandriva Package Management"
|
|
.SH "NAME"
|
|
urpm-repomanage - report newest and oldest packages in a given set
|
|
.SH "SYNOPSIS"
|
|
\fBurpm-repomanage\fP [-h] [-o | -n] [-r] [-s] [-k KEEP] [-c] [-q | -V] path
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
\fBurpm-repomanage\fP is a program that scans directory of rpm packages and report newest or oldest packages.
|
|
.PP
|
|
.SH "ARGUMENTS"
|
|
.IP "\fBpath\fP"
|
|
Path to directory with rpm packages. The tool traverses directory recursively
|
|
and analyzes all RPM packages found
|
|
.PP
|
|
.SH "OPTIONS"
|
|
.IP "\fB\-\-help, -h\fP"
|
|
show help message and exit
|
|
.IP "\fB\-\-old, -o\fP"
|
|
print the older packages
|
|
.IP "\fB\-\-new, -n\fP"
|
|
print the newest packages (this is the default behavior)
|
|
.IP "\fB\-\-obsolete, -b\fP"
|
|
report obsolete packages; packages that obsolete themselves are not taken into account
|
|
.IP "\fB\-\-remove-old, -r\fP"
|
|
remove older packages
|
|
.IP "\fB\-\-space, -s\fP"
|
|
space separated output, not newline
|
|
.IP "\fB\-\-keep KEEP, -k KEEP\fP"
|
|
number of newest packages to keep; defaults to 1
|
|
.IP "\fB\-\-nocheck, -c\fP"
|
|
do not check package payload signatures/digests
|
|
.IP "\fB\-\-quiet, -q\fP"
|
|
be completely quiet
|
|
.IP "\fB\-\-verbose, -V\fP"
|
|
be verbose - say which packages are decided to be old
|
|
and why (this info is dumped to STDERR)
|
|
|
|
.SH "EXIT CODES"
|
|
.IP "0 \- Suceess. The tool has run without any errors and old packages were not found."
|
|
.IP "1 \- No packages were found"
|
|
.IP "2 \- Illegal option or missing argument"
|
|
.IP "3 \- The tool has run successfully and detected old packages"
|
|
|
|
.SH "EXAMPLES"
|
|
.IP "Scan local directory with packages and for every package name print only file with the latest version:"
|
|
\fBurpm-repomanage /tmp/repo\fP
|
|
.IP "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:"
|
|
\fBurpm-repomanage --old -V -k 2 /tmp/repo\fP
|
|
.IP "Remove older packages in a local directory without printing anything to terminal:"
|
|
\fBurpm-repomanage --remove-old -q /tmp/repo\fP
|
|
.PP
|
|
|
|
.PP
|
|
.SH "AUTHORS"
|
|
.nf
|
|
See the Authors file included with this program.
|
|
.fi
|