deb-split.5 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .TH deb\-split 5 "2011-07-04" "Debian Project" "Debian"
  2. .SH NAME
  3. deb\-split \- Debian multi-part binary package format
  4. .SH SYNOPSIS
  5. .IB filename .deb
  6. .SH DESCRIPTION
  7. The multi-part \fB.deb\fP format is used to split big packages into smaller
  8. pieces to ease transport in small media.
  9. .SH FORMAT
  10. The file is an \fBar\fP archive with a magic value of \fB!<arch>\fP.
  11. The file names might contain a trailing slash (since dpkg 1.15.6).
  12. .PP
  13. The first member is named \fBdebian\-split\fP and contains a series
  14. of lines, separated by newlines. Currently eight lines are present:
  15. .IP \(bu 4
  16. The format version number, \fB2.1\fP at the time this manual page was
  17. written.
  18. .IP \(bu
  19. The package name.
  20. .IP \(bu
  21. The package version.
  22. .IP \(bu
  23. The md5sum of the package.
  24. .IP \(bu
  25. The total size of the package.
  26. .IP \(bu
  27. The maximum part size.
  28. .IP \(bu
  29. The current part number, followed by a slash and the total amount of
  30. parts (as in \(oq1/10\(cq).
  31. .IP \(bu
  32. The package architecture (since dpkg 1.16.1).
  33. .PP
  34. Programs which read multi-part archives should be prepared for additional
  35. lines to be present, and should ignore these if this is the case.
  36. .PP
  37. If the version number has changed, an incompatible change has been made
  38. and the program should stop. If it has not, then the program should
  39. be able to safely continue, unless it encounters an unexpected member
  40. in the archive (except at the end), as described below.
  41. .PP
  42. The second, last required member is named \fBdata.\fP\fIN\fP, where \fIN\fP
  43. denotes the part number. It contains the raw part data.
  44. .PP
  45. These members must occur in this exact order. Current implementations
  46. should ignore any additional members after \fBdata.\fP\fIN\fP.
  47. Further members may be defined in the future, and (if possible) will be
  48. placed after these two.
  49. .SH SEE ALSO
  50. .BR deb (5),
  51. .BR dpkg\-split (1).