deb-old.5 1.6 KB

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