Commit | Line | Data |
---|---|---|
1479465f GJ |
1 | .\" dpkg manual page - deb-old(5) |
2 | .\" | |
3 | .\" Copyright © 1995 Raul Miller | |
4 | .\" Copyright © 1995-1996 Ian Jackson <ijackson@chiark.greenend.org.uk> | |
5 | .\" Copyright © 2000 Wichert Akkerman <wakkerma@debian.org> | |
6 | .\" | |
7 | .\" This is free software; you can redistribute it and/or modify | |
8 | .\" it under the terms of the GNU General Public License as published by | |
9 | .\" the Free Software Foundation; either version 2 of the License, or | |
10 | .\" (at your option) any later version. | |
11 | .\" | |
12 | .\" This is distributed in the hope that it will be useful, | |
13 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | .\" GNU General Public License for more details. | |
16 | .\" | |
17 | .\" You should have received a copy of the GNU General Public License | |
18 | .\" along with this program. If not, see <https://www.gnu.org/licenses/>. | |
19 | . | |
20 | .TH deb\-old 5 "%RELEASE_DATE%" "%VERSION%" "dpkg suite" | |
21 | .nh | |
22 | .SH NAME | |
23 | deb\-old \- old style Debian binary package format | |
24 | . | |
25 | .SH SYNOPSIS | |
26 | .IB filename .deb | |
27 | . | |
28 | .SH DESCRIPTION | |
29 | The | |
30 | .B .deb | |
31 | format is the Debian binary package file format. This manual page | |
32 | describes the | |
33 | .B old | |
34 | format, used before Debian 0.93. Please see | |
35 | .BR deb (5) | |
36 | for details of the new format. | |
37 | . | |
38 | .SH FORMAT | |
39 | The file is two lines of format information as ASCII text, followed by | |
40 | two concatenated gzipped ustar files. | |
41 | .PP | |
42 | The first line is the format version number padded to 8 digits, and is | |
43 | .B 0.939000 | |
44 | for all old-format archives. | |
45 | .PP | |
46 | The second line is a decimal string (without leading zeroes) giving | |
47 | the length of the first gzipped tarfile. | |
48 | .PP | |
49 | Each of these lines is terminated with a single newline character. | |
50 | .PP | |
51 | The first tarfile contains the control information, as a series of | |
52 | ordinary files. The file | |
53 | .B control | |
54 | must be present, as it contains the core control information. | |
55 | .PP | |
56 | In some very old archives, the files in the control tarfile may | |
57 | optionally be in a | |
58 | .B DEBIAN | |
59 | subdirectory. In that case, the | |
60 | .B DEBIAN | |
61 | subdirectory will be in the control tarfile too, and the control | |
62 | tarfile will have only files in that directory. Optionally the | |
63 | control tarfile may contain an entry for | |
64 | .RB ‘ . ’, | |
65 | that is, the current directory. | |
66 | .PP | |
67 | The second gzipped tarfile is the filesystem archive, containing | |
68 | pathnames relative to the root directory of the system to be installed | |
69 | on. The pathnames do not have leading slashes. | |
70 | . | |
71 | .SH SEE ALSO | |
72 | .BR deb (5), | |
73 | .BR dpkg\-deb (1), | |
74 | .BR deb\-control (5). |