<title>APT Files</title>
<author>Jason Gunthorpe <email>jgg@debian.org</email></author>
-<version>$Id: files.sgml,v 1.1 1998/07/02 02:58:12 jgg Exp $</version>
+<version>$Id: files.sgml,v 1.2 1998/07/12 02:11:09 jgg Exp $</version>
<abstract>
This document describes the complete implementation and format of the
<p>
<var>uri</var> for the <em>deb</em> type must specify the base of the
debian distribution. APT will automatically generate the proper longer
- URIs to get the information it needs. <var>distribution</var> can specify
+ URIs to get the information it needs. <var>distribution</var> can specify
an exact path, in this case the components must be omitted and
<var>distribution</var> must end in a slash.
All permanent information aquired from any of the sources is stored in the
lists directory. Thus, there must be a way to relate the filename in the
lists directory to a line in the sourcelist. To simplify things this is
-done by quoting the URI and treating ='s as quoteable characters and
-converting / to =. The URI spec says this is done by converting a
+done by quoting the URI and treating _'s as quoteable characters and
+converting / to _. The URI spec says this is done by converting a
sensitive character into %xx where xx is the hexadecimal representation
from the ascii character set. Examples:
<example>
http://www.debian.org/archive/dists/stable/binary-i386/Packages
-/var/state/apt/lists/www.debian.org=archive=dists=stable=binary-i386=Packages
+/var/state/apt/lists/www.debian.org_archive_dists_stable_binary-i386_Packages
cdrom:Debian 1.3/debian/Packages
-/var/state/apt/info/Debian%201.3=debian=Packages
+/var/state/apt/info/Debian%201.3_debian_Packages
</example>
<p>
<p>
The interface is simple, the program will be given a list
-of URIs on the command line. The URIs will be in pairs, the first
+of URIs on the command line. The URIs will be a pairs of strings, the first
being the actual URI and the second being the filename to write the data to.
The current directory will be set properly by APT and it is
expected the method will put files relative to the current directory.