You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.1 KiB

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"" [
<!ENTITY % aptent SYSTEM "apt.ent">
<!-- The last update date -->
<date>29 February 2004</date>
<!-- Man page title -->
<refpurpose>Utility to sort package index files</refpurpose>
<!-- Arguments -->
<arg><option>-o=<replaceable>config string</replaceable></option></arg>
<arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg>
<para><command>apt-sortpkgs</command> 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.</para>
All output is sent to stdout, the input must be a seekable file.</para>
Use Source index field ordering.
Configuration Item: <literal>APT::SortPkgs::Source</literal>.</para></listitem>
<refsect1><title>See Also</title>
<para><command>apt-sortpkgs</command> returns zero on normal operation, decimal 100 on error.</para>