deb-split.5 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .\" dpkg manual page - deb-split(5)
  2. .\"
  3. .\" Copyright © 2009-2012 Guillem Jover <guillem@debian.org>
  4. .\"
  5. .\" This is free software; you can redistribute it and/or modify
  6. .\" it under the terms of the GNU General Public License as published by
  7. .\" the Free Software Foundation; either version 2 of the License, or
  8. .\" (at your option) any later version.
  9. .\"
  10. .\" This is distributed in the hope that it will be useful,
  11. .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. .\" GNU General Public License for more details.
  14. .\"
  15. .\" You should have received a copy of the GNU General Public License
  16. .\" along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. .
  18. .TH deb\-split 5 "2012-04-09" "Debian Project" "Debian"
  19. .SH NAME
  20. deb\-split \- Debian multi-part binary package format
  21. .SH SYNOPSIS
  22. .IB filename .deb
  23. .SH DESCRIPTION
  24. The multi-part \fB.deb\fP format is used to split big packages into smaller
  25. pieces to ease transport in small media.
  26. .SH FORMAT
  27. The file is an \fBar\fP archive with a magic value of \fB!<arch>\fP.
  28. The file names might contain a trailing slash (since dpkg 1.15.6).
  29. .PP
  30. The first member is named \fBdebian\-split\fP and contains a series
  31. of lines, separated by newlines. Currently eight lines are present:
  32. .IP \(bu 4
  33. The format version number, \fB2.1\fP at the time this manual page was
  34. written.
  35. .IP \(bu
  36. The package name.
  37. .IP \(bu
  38. The package version.
  39. .IP \(bu
  40. The md5sum of the package.
  41. .IP \(bu
  42. The total size of the package.
  43. .IP \(bu
  44. The maximum part size.
  45. .IP \(bu
  46. The current part number, followed by a slash and the total amount of
  47. parts (as in \(oq1/10\(cq).
  48. .IP \(bu
  49. The package architecture (since dpkg 1.16.1).
  50. .PP
  51. Programs which read multi-part archives should be prepared for the minor
  52. format version number to be increased and additional lines to be present,
  53. and should ignore these if this is the case.
  54. .PP
  55. If the major format version number has changed, an incompatible change has
  56. been made and the program should stop. If it has not, then the program should
  57. be able to safely continue, unless it encounters an unexpected member
  58. in the archive (except at the end), as described below.
  59. .PP
  60. The second, last required member is named \fBdata.\fP\fIN\fP, where \fIN\fP
  61. denotes the part number. It contains the raw part data.
  62. .PP
  63. These members must occur in this exact order. Current implementations
  64. should ignore any additional members after \fBdata.\fP\fIN\fP.
  65. Further members may be defined in the future, and (if possible) will be
  66. placed after these two.
  67. .SH SEE ALSO
  68. .BR deb (5),
  69. .BR dpkg\-split (1).