]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" encoding="utf-8" standalone="no"?> | |
2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" | |
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ | |
4 | ||
5 | <!ENTITY % aptent SYSTEM "apt.ent"> | |
6 | %aptent; | |
7 | ||
8 | <!ENTITY % aptverbatiment SYSTEM "apt-verbatim.ent"> | |
9 | %aptverbatiment; | |
10 | ||
11 | <!ENTITY % aptvendor SYSTEM "apt-vendor.ent"> | |
12 | %aptvendor; | |
13 | ]> | |
14 | ||
15 | <refentry> | |
16 | ||
17 | <refentryinfo> | |
18 | &apt-author.jgunthorpe; | |
19 | &apt-author.team; | |
20 | &apt-email; | |
21 | &apt-product; | |
22 | <!-- The last update date --> | |
23 | <date>2012-06-09T00:00:00Z</date> | |
24 | </refentryinfo> | |
25 | ||
26 | <refmeta> | |
27 | <refentrytitle>apt-sortpkgs</refentrytitle> | |
28 | <manvolnum>1</manvolnum> | |
29 | <refmiscinfo class="manual">APT</refmiscinfo> | |
30 | </refmeta> | |
31 | ||
32 | <!-- Man page title --> | |
33 | <refnamediv> | |
34 | <refname>apt-sortpkgs</refname> | |
35 | <refpurpose>Utility to sort package index files</refpurpose> | |
36 | </refnamediv> | |
37 | ||
38 | &synopsis-command-apt-sortpkgs; | |
39 | ||
40 | <refsect1><title>Description</title> | |
41 | <para><command>apt-sortpkgs</command> will take an index file (source index or package | |
42 | index) and sort the records so that they are ordered by the package name. | |
43 | It will also sort the internal fields of each record according to the | |
44 | internal sorting rules.</para> | |
45 | ||
46 | <para> | |
47 | All output is sent to standard output; the input must be a seekable file.</para> | |
48 | </refsect1> | |
49 | ||
50 | <refsect1><title>options</title> | |
51 | &apt-cmdblurb; | |
52 | ||
53 | <variablelist> | |
54 | <varlistentry><term><option>-s</option></term><term><option>--source</option></term> | |
55 | <listitem><para> | |
56 | Use source index field ordering. | |
57 | Configuration Item: <literal>APT::SortPkgs::Source</literal>.</para></listitem> | |
58 | </varlistentry> | |
59 | ||
60 | &apt-commonoptions; | |
61 | ||
62 | </variablelist> | |
63 | </refsect1> | |
64 | ||
65 | <refsect1><title>See Also</title> | |
66 | <para>&apt-conf;</para> | |
67 | </refsect1> | |
68 | ||
69 | <refsect1><title>Diagnostics</title> | |
70 | <para><command>apt-sortpkgs</command> returns zero on normal operation, decimal 100 on error.</para> | |
71 | </refsect1> | |
72 | ||
73 | &manbugs; | |
74 | ||
75 | </refentry> |