175 lines
3.8 KiB
HTML
175 lines
3.8 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of APT-SORTPKGS</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>APT-SORTPKGS</H1>
|
|
Section: APT (1)<BR>Updated: 30 November 2013<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
apt-sortpkgs - Utility to sort package index files
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>apt-sortpkgs</B> [<B>-s</B>] [<B>-o=</B><B></B><I>config_string</I>] [<B>-c=</B><B></B><I>config_file</I>] <I>filename</I>... {-v | --version} {-h | --help}
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>apt-sortpkgs</B>
|
|
<DD>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.
|
|
<P>
|
|
|
|
All output is sent to standard output; the input must be a seekable file.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the config file by using something like
|
|
<B>-f-</B>,<B>--no-f</B>,
|
|
<B>-f=no</B>
|
|
or several other variations.
|
|
<P>
|
|
|
|
<B>-s</B>, <B>--source</B>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
Use source index field ordering. Configuration Item:
|
|
APT::SortPkgs::Source.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-h</B>, <B>--help</B>
|
|
<DL COMPACT><DT id="3"><DD>
|
|
Show a short usage summary.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-v</B>, <B>--version</B>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Show the program version.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-c</B>, <B>--config-file</B>
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this configuration file. If configuration settings need to be set before the default configuration files are parsed specify a file with the
|
|
<B>APT_CONFIG</B>
|
|
environment variable. See
|
|
<B><A HREF="/cgi-bin/man/man2html?5+apt.conf">apt.conf</A></B>(5)
|
|
for syntax information.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-o</B>, <B>--option</B>
|
|
<DL COMPACT><DT id="6"><DD>
|
|
Set a Configuration Option; This will set an arbitrary configuration option. The syntax is
|
|
<B>-o Foo::Bar=bar</B>.
|
|
<B>-o</B>
|
|
and
|
|
<B>--option</B>
|
|
can be used multiple times to set different options.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+apt.conf">apt.conf</A></B>(5)
|
|
<A NAME="lbAG"> </A>
|
|
<H2>DIAGNOSTICS</H2>
|
|
|
|
<P>
|
|
|
|
<B>apt-sortpkgs</B>
|
|
returns zero on normal operation, decimal 100 on error.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
<P>
|
|
|
|
m[blue]<B>APT bug page</B>m[]<FONT SIZE="-2">[1]</FONT>. If you wish to report a bug in APT, please see
|
|
/usr/share/doc/debian/bug-reporting.txt
|
|
or the
|
|
<B><A HREF="/cgi-bin/man/man2html?1+reportbug">reportbug</A></B>(1)
|
|
command.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
<P>
|
|
|
|
<B>Jason Gunthorpe</B>
|
|
<DL COMPACT><DT id="7"><DD>
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>APT team</B>
|
|
<DL COMPACT><DT id="8"><DD>
|
|
</DL>
|
|
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="9"> 1.<DD>
|
|
APT bug page
|
|
<DL COMPACT><DT id="10"><DD>
|
|
<A HREF="http://bugs.debian.org/src:apt">http://bugs.debian.org/src:apt</A>
|
|
</DL>
|
|
|
|
<P>
|
|
</DL>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="14"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="15"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="16"><A HREF="#lbAG">DIAGNOSTICS</A><DD>
|
|
<DT id="17"><A HREF="#lbAH">BUGS</A><DD>
|
|
<DT id="18"><A HREF="#lbAI">AUTHORS</A><DD>
|
|
<DT id="19"><A HREF="#lbAJ">NOTES</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:07 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|