deb-old.5 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .\" Hey, Emacs! This is an -*- nroff -*- source file.
  2. .\" Author: Raul Miller, Ian Jackson
  3. .TH DEB-OLD 5 "1st July 1996" "Debian Project" "Debian GNU/Linux"
  4. .SH NAME
  5. deb-old - Debian GNU/Linux binary package old style format
  6. .SH SYNOPSIS
  7. .IB filename .deb
  8. .SH DESCRIPTION
  9. Old style Debian binary package format.
  10. The
  11. .B .deb
  12. format is the Debian binary package file format. The format has
  13. changed since Debian 0.93 and the new format is being phased in.
  14. The old format is described here. Please see
  15. .BR deb (5)
  16. for details of the new format.
  17. .SH FORMAT
  18. The file is two lines of format information as ASCII text, followed by
  19. two concatenated gzipped ustar files.
  20. The first line is the format version number padded to 8 digits, and is
  21. .B 0.939000
  22. for all old-format archives.
  23. The second line is a decimal string (without leading zeroes) giving
  24. the length of the first gzipped tarfile.
  25. Each of these lines is terminated with a single newline character.
  26. The first tarfile contains the control information (see the
  27. .IR "dpkg Programmer's manual" )
  28. as a series of ordinary files. The file
  29. .B control
  30. must be present, and contains the core control information. The files
  31. in the control tarfile may optionally be in a
  32. .B DEBIAN
  33. subdirectory in some very old archives - in this case the
  34. .B DEBIAN
  35. subdirectory will be in the control tarfile too, and the control
  36. tarfile will have only files in that directory. Optionally the
  37. control tarfile may contain an entry for
  38. .RB ` . ',
  39. that is, the current directory.
  40. The second gzipped tarfile is the filesystem archive, containing
  41. pathnames relative to the root directory of the system to be installed
  42. on. The pathnames do not have leading slashes.
  43. .SH SEE ALSO
  44. .BR deb (5),
  45. .BR deb\-control (5),
  46. .IR "dpkg Programmers' manual" ,
  47. .BR dpkg\-deb (8)