deb-split.5 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .TH deb\-split 5 "2010-01-28" "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 seven lines are present.
  15. The first is the format version number, \fB2.1\fP at the time this
  16. manual page was written. The second is the package name. The third
  17. is the package version. The fourth is the md5sum of the package.
  18. The fifth is the total size of the package. The sixth is the maximum
  19. part size. The seventh is the current part number, followed by a slash
  20. and the total amount of parts (as in \(oq1/10\(cq).
  21. .PP
  22. Programs which read multi-part archives should be prepared for additional
  23. lines to be present, and should ignore these if this is the case.
  24. .PP
  25. If the version number has changed, an incompatible change has been made
  26. and the program should stop. If it has not, then the program should
  27. be able to safely continue, unless it encounters an unexpected member
  28. in the archive (except at the end), as described below.
  29. .PP
  30. The second, last required member is named \fBdata.\fPN, where N denotes
  31. the part number. It contains the raw part data.
  32. .PP
  33. These members must occur in this exact order. Current implementations
  34. should ignore any additional members after \fBdata.\fPN.
  35. Further members may be defined in the future, and (if possible) will be
  36. placed after these two.
  37. .SH SEE ALSO
  38. .BR deb (5),
  39. .BR dpkg\-split (1).