~ubuntu-branches/ubuntu/trusty/apt/trusty

« back to all changes in this revision

Viewing changes to doc/en/apt-sortpkgs.1

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-04-01 17:48:58 UTC
  • mfrom: (1.4.87 sid)
  • Revision ID: package-import@ubuntu.com-20140401174858-4mv29mm29zu22fn1
Tags: 1.0.1ubuntu1
merge with the debian/sid 1.0.1 version
(LP: #1302033)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: apt-sortpkgs
 
3
.\"    Author: Jason Gunthorpe
 
4
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
 
5
.\"      Date: 09\ \&June\ \&2012
 
6
.\"    Manual: APT
 
7
.\"    Source: APT 1.0
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "APT\-SORTPKGS" "1" "09\ \&June\ \&2012" "APT 1.0" "APT"
 
11
.\" -----------------------------------------------------------------
 
12
.\" * Define some portability stuff
 
13
.\" -----------------------------------------------------------------
 
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
15
.\" http://bugs.debian.org/507673
 
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
 
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
18
.ie \n(.g .ds Aq \(aq
 
19
.el       .ds Aq '
 
20
.\" -----------------------------------------------------------------
 
21
.\" * set default formatting
 
22
.\" -----------------------------------------------------------------
 
23
.\" disable hyphenation
 
24
.nh
 
25
.\" disable justification (adjust text to left margin only)
 
26
.ad l
 
27
.\" -----------------------------------------------------------------
 
28
.\" * MAIN CONTENT STARTS HERE *
 
29
.\" -----------------------------------------------------------------
 
30
.SH "NAME"
 
31
apt-sortpkgs \- Utility to sort package index files
 
32
.SH "SYNOPSIS"
 
33
.HP \w'\fBapt\-sortpkgs\fR\ 'u
 
34
\fBapt\-sortpkgs\fR [\fB\-s\fR] [\fB\-o=\fR\fB\fIconfig_string\fR\fR] [\fB\-c=\fR\fB\fIconfig_file\fR\fR] \fIfilename\fR... {\-v\ |\ \-\-version} {\-h\ |\ \-\-help}
 
35
.SH "DESCRIPTION"
 
36
.PP
 
37
\fBapt\-sortpkgs\fR
 
38
will take an index file (source index or package index) and sort the records so that they are ordered by the package name\&. It will also sort the internal fields of each record according to the internal sorting rules\&.
 
39
.PP
 
40
All output is sent to standard output; the input must be a seekable file\&.
 
41
.SH "OPTIONS"
 
42
.PP
 
43
All command line options may be set using the configuration file, the descriptions indicate the configuration option to set\&. For boolean options you can override the config file by using something like
 
44
\fB\-f\-\fR,\fB\-\-no\-f\fR,
 
45
\fB\-f=no\fR
 
46
or several other variations\&.
 
47
.PP
 
48
\fB\-s\fR, \fB\-\-source\fR
 
49
.RS 4
 
50
Use source index field ordering\&. Configuration Item:
 
51
APT::SortPkgs::Source\&.
 
52
.RE
 
53
.PP
 
54
\fB\-h\fR, \fB\-\-help\fR
 
55
.RS 4
 
56
Show a short usage summary\&.
 
57
.RE
 
58
.PP
 
59
\fB\-v\fR, \fB\-\-version\fR
 
60
.RS 4
 
61
Show the program version\&.
 
62
.RE
 
63
.PP
 
64
\fB\-c\fR, \fB\-\-config\-file\fR
 
65
.RS 4
 
66
Configuration File; Specify a configuration file to use\&. The program will read the default configuration file and then this configuration file\&. If configuration settings need to be set before the default configuration files are parsed specify a file with the
 
67
\fBAPT_CONFIG\fR
 
68
environment variable\&. See
 
69
\fBapt.conf\fR(5)
 
70
for syntax information\&.
 
71
.RE
 
72
.PP
 
73
\fB\-o\fR, \fB\-\-option\fR
 
74
.RS 4
 
75
Set a Configuration Option; This will set an arbitrary configuration option\&. The syntax is
 
76
\fB\-o Foo::Bar=bar\fR\&.
 
77
\fB\-o\fR
 
78
and
 
79
\fB\-\-option\fR
 
80
can be used multiple times to set different options\&.
 
81
.RE
 
82
.SH "SEE ALSO"
 
83
.PP
 
84
\fBapt.conf\fR(5)
 
85
.SH "DIAGNOSTICS"
 
86
.PP
 
87
\fBapt\-sortpkgs\fR
 
88
returns zero on normal operation, decimal 100 on error\&.
 
89
.SH "BUGS"
 
90
.PP
 
91
\m[blue]\fBAPT bug page\fR\m[]\&\s-2\u[1]\d\s+2\&. If you wish to report a bug in APT, please see
 
92
/usr/share/doc/debian/bug\-reporting\&.txt
 
93
or the
 
94
\fBreportbug\fR(1)
 
95
command\&.
 
96
.SH "AUTHORS"
 
97
.PP
 
98
\fBJason Gunthorpe\fR
 
99
.RS 4
 
100
.RE
 
101
.PP
 
102
\fBAPT team\fR
 
103
.RS 4
 
104
.RE
 
105
.SH "NOTES"
 
106
.IP " 1." 4
 
107
APT bug page
 
108
.RS 4
 
109
\%http://bugs.debian.org/src:apt
 
110
.RE