deb-old.5 2.4 KB

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