dpkg (1.18.25) stretch; urgency=medium
[dpkg] / man / deb-old.man
CommitLineData
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
23deb\-old \- old style Debian binary package format
24.
25.SH SYNOPSIS
26.IB filename .deb
27.
28.SH DESCRIPTION
29The
30.B .deb
31format is the Debian binary package file format. This manual page
32describes the
33.B old
34format, used before Debian 0.93. Please see
35.BR deb (5)
36for details of the new format.
37.
38.SH FORMAT
39The file is two lines of format information as ASCII text, followed by
40two concatenated gzipped ustar files.
41.PP
42The first line is the format version number padded to 8 digits, and is
43.B 0.939000
44for all old-format archives.
45.PP
46The second line is a decimal string (without leading zeroes) giving
47the length of the first gzipped tarfile.
48.PP
49Each of these lines is terminated with a single newline character.
50.PP
51The first tarfile contains the control information, as a series of
52ordinary files. The file
53.B control
54must be present, as it contains the core control information.
55.PP
56In some very old archives, the files in the control tarfile may
57optionally be in a
58.B DEBIAN
59subdirectory. In that case, the
60.B DEBIAN
61subdirectory will be in the control tarfile too, and the control
62tarfile will have only files in that directory. Optionally the
63control tarfile may contain an entry for
64.RB ‘ . ’,
65that is, the current directory.
66.PP
67The second gzipped tarfile is the filesystem archive, containing
68pathnames relative to the root directory of the system to be installed
69on. 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).