deb-old.5 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .TH deb\-old 5 "2006-02-28" "Debian Project" "Debian"
  2. .SH NAME
  3. deb\-old \- old style Debian binary package format
  4. .
  5. .SH SYNOPSIS
  6. .IB filename .deb
  7. .
  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. .
  18. .SH FORMAT
  19. The file is two lines of format information as ASCII text, followed by
  20. two concatenated gzipped ustar files.
  21. .PP
  22. The first line is the format version number padded to 8 digits, and is
  23. .B 0.939000
  24. for all old-format archives.
  25. .PP
  26. The second line is a decimal string (without leading zeroes) giving
  27. the length of the first gzipped tarfile.
  28. .PP
  29. Each of these lines is terminated with a single newline character.
  30. .PP
  31. The first tarfile contains the control information, as a series of
  32. ordinary files. The file
  33. .B control
  34. must be present, as it contains the core control information.
  35. .PP
  36. In some very old archives, the files in the control tarfile may
  37. optionally be in a
  38. .B DEBIAN
  39. subdirectory. In that case, the
  40. .B DEBIAN
  41. subdirectory will be in the control tarfile too, and the control
  42. tarfile will have only files in that directory. Optionally the
  43. control tarfile may contain an entry for
  44. .RB ` . ',
  45. that is, the current directory.
  46. .PP
  47. The second gzipped tarfile is the filesystem archive, containing
  48. pathnames relative to the root directory of the system to be installed
  49. on. The pathnames do not have leading slashes.
  50. .
  51. .SH SEE ALSO
  52. .BR deb (5),
  53. .BR dpkg-deb (1),
  54. .BR deb-control (5).