]> git.saurik.com Git - apt.git/blame - doc/apt-sortpkgs.1.xml
prepare-release: declare the packages needed as source build deps.
[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
694ef56e
DK
11<!ENTITY % aptvendor SYSTEM "apt-vendor.ent">
12%aptvendor;
24f6490f
AL
13]>
14
15<refentry>
5e80de29
AL
16
17 <refentryinfo>
18 &apt-author.jgunthorpe;
19 &apt-author.team;
20 &apt-email;
21 &apt-product;
22 <!-- The last update date -->
dabb215c 23 <date>2012-06-09T00:00:00Z</date>
5e80de29 24 </refentryinfo>
24f6490f
AL
25
26 <refmeta>
27 <refentrytitle>apt-sortpkgs</refentrytitle>
28 <manvolnum>1</manvolnum>
f0599b9c 29 <refmiscinfo class="manual">APT</refmiscinfo>
24f6490f
AL
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
6e8b4572
DK
38 &synopsis-command-apt-sortpkgs;
39
24f6490f 40 <refsect1><title>Description</title>
14301cf3 41 <para><command>apt-sortpkgs</command> will take an index file (source index or package
24f6490f
AL
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>
14301cf3 47 All output is sent to standard output; the input must be a seekable file.</para>
24f6490f
AL
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>
14301cf3 56 Use source index field ordering.
24f6490f
AL
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;
24f6490f
AL
74
75</refentry>