deb-old.5 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .\" Hey, Emacs! This is an -*- nroff -*- source file.
  2. .\" Author: Raul Miller, Ian Jackson
  3. .TH DEB-OLD 5 "January 2000" "Debian Project" "Debian GNU/Linux"
  4. .SH NAME
  5. deb-old \- old style Debian GNU/Linux binary package format
  6. .SH SYNOPSIS
  7. .IB filename .deb
  8. .SH DESCRIPTION
  9. The
  10. .B .deb
  11. format is the Debian binary package file format. This manual page
  12. describes the
  13. .B old
  14. format, used before Debian 0.93. 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. .PP
  21. The first line is the format version number padded to 8 digits, and is
  22. .B 0.939000
  23. for all old-format archives.
  24. .PP
  25. The second line is a decimal string (without leading zeroes) giving
  26. the length of the first gzipped tarfile.
  27. .PP
  28. Each of these lines is terminated with a single newline character.
  29. .PP
  30. The first tarfile contains the control information, as a series of
  31. ordinary files, described in
  32. .IR "Debian Packaging Manual, section 2.2".
  33. The file
  34. .B control
  35. must be present, as it contains the core control information.
  36. .PP
  37. In some very old archives, the files in the control tarfile may
  38. optionally be in a
  39. .B DEBIAN
  40. subdirectory. In that case, the
  41. .B DEBIAN
  42. subdirectory will be in the control tarfile too, and the control
  43. tarfile will have only files in that directory. Optionally the
  44. control tarfile may contain an entry for
  45. .RB ` . ',
  46. that is, the current directory.
  47. .PP
  48. The second gzipped tarfile is the filesystem archive, containing
  49. pathnames relative to the root directory of the system to be installed
  50. on. The pathnames do not have leading slashes.
  51. .SH SEE ALSO
  52. .BR deb (5),
  53. .BR dpkg-deb (1),
  54. .BR deb-control (5),
  55. .IR "Debian Packaging Manual".