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