1APT-SORTPKGS(1)                       APT                      APT-SORTPKGS(1)
2
3
4

NAME

6       apt-sortpkgs - Utility to sort package index files
7

SYNOPSIS

9       apt-sortpkgs [-s] [-o=config_string] [-c=config_file] filename...
10                    {-v | --version} {-h | --help}
11

DESCRIPTION

13       apt-sortpkgs will take an index file (source index or package index)
14       and sort the records so that they are ordered by the package name. It
15       will also sort the internal fields of each record according to the
16       internal sorting rules.
17
18       All output is sent to standard output; the input must be a seekable
19       file.
20

OPTIONS

22       All command line options may be set using the configuration file, the
23       descriptions indicate the configuration option to set. For boolean
24       options you can override the config file by using something like
25       -f-,--no-f, -f=no or several other variations.
26
27       -s, --source
28           Use source index field ordering. Configuration Item:
29           APT::SortPkgs::Source.
30
31       -h, --help
32           Show a short usage summary.
33
34       -v, --version
35           Show the program version.
36
37       -c, --config-file
38           Configuration File; Specify a configuration file to use. The
39           program will read the default configuration file and then this
40           configuration file. If configuration settings need to be set before
41           the default configuration files are parsed specify a file with the
42           APT_CONFIG environment variable. See apt.conf(5) for syntax
43           information.
44
45       -o, --option
46           Set a Configuration Option; This will set an arbitrary
47           configuration option. The syntax is -o Foo::Bar=bar.  -o and
48           --option can be used multiple times to set different options.
49

SEE ALSO

51       apt.conf(5)
52

DIAGNOSTICS

54       apt-sortpkgs returns zero on normal operation, decimal 100 on error.
55

BUGS

57       APT bug page[1]. If you wish to report a bug in APT, please see
58       /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command.
59

AUTHORS

61       Jason Gunthorpe
62
63       APT team
64

NOTES

66        1. APT bug page
67           http://bugs.debian.org/src:apt
68
69
70
71APT 2.3.5                      30 November 2013                APT-SORTPKGS(1)
Impressum