]> git.saurik.com Git - apt.git/blame - doc/apt-sortpkgs.1.xml
apt-private: #ifdef HAVE_STRUCT_STATFS_F_TYPE, not #if
[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" [
5abbf5bb
DK
4<!ENTITY % aptent SYSTEM "apt.ent"> %aptent;
5<!ENTITY % aptverbatiment SYSTEM "apt-verbatim.ent"> %aptverbatiment;
6<!ENTITY % aptvendor SYSTEM "apt-vendor.ent"> %aptvendor;
24f6490f
AL
7]>
8
9<refentry>
5e80de29
AL
10
11 <refentryinfo>
12 &apt-author.jgunthorpe;
13 &apt-author.team;
14 &apt-email;
15 &apt-product;
16 <!-- The last update date -->
ab5b1d0d 17 <date>2013-11-30T00:00:00Z</date>
5e80de29 18 </refentryinfo>
24f6490f
AL
19
20 <refmeta>
21 <refentrytitle>apt-sortpkgs</refentrytitle>
22 <manvolnum>1</manvolnum>
f0599b9c 23 <refmiscinfo class="manual">APT</refmiscinfo>
24f6490f
AL
24 </refmeta>
25
26 <!-- Man page title -->
27 <refnamediv>
28 <refname>apt-sortpkgs</refname>
29 <refpurpose>Utility to sort package index files</refpurpose>
30 </refnamediv>
31
6e8b4572
DK
32 &synopsis-command-apt-sortpkgs;
33
24f6490f 34 <refsect1><title>Description</title>
14301cf3 35 <para><command>apt-sortpkgs</command> will take an index file (source index or package
24f6490f
AL
36 index) and sort the records so that they are ordered by the package name.
37 It will also sort the internal fields of each record according to the
38 internal sorting rules.</para>
39
40 <para>
14301cf3 41 All output is sent to standard output; the input must be a seekable file.</para>
24f6490f
AL
42 </refsect1>
43
44 <refsect1><title>options</title>
45 &apt-cmdblurb;
46
47 <variablelist>
48 <varlistentry><term><option>-s</option></term><term><option>--source</option></term>
49 <listitem><para>
14301cf3 50 Use source index field ordering.
24f6490f
AL
51 Configuration Item: <literal>APT::SortPkgs::Source</literal>.</para></listitem>
52 </varlistentry>
53
54 &apt-commonoptions;
55
56 </variablelist>
57 </refsect1>
58
59 <refsect1><title>See Also</title>
60 <para>&apt-conf;</para>
61 </refsect1>
62
63 <refsect1><title>Diagnostics</title>
64 <para><command>apt-sortpkgs</command> returns zero on normal operation, decimal 100 on error.</para>
65 </refsect1>
66
67 &manbugs;
24f6490f
AL
68
69</refentry>