Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
dpkg-split(8)
Edit
PageHistory
Diff
Info
LikePages
dpkg-split !!!dpkg-split NAME SYNOPSIS DESCRIPTION ACTION OPTIONS OTHER OPTIONS EXIT STATUS BUGS FILES SEE ALSO AUTHOR ---- !!NAME dpkg-split - Debian package archive split/join tool !!SYNOPSIS __dpkg-split -s__|__--split__ ''complete-archive'' [[''prefix'']__ dpkg-split -j__|__--join__ ''part part'' ...__ dpkg-split -I__|__--info__ ''part part'' ...__ dpkg-split -a__|__--auto -o__ ''complete-output part''__ dpkg-split -l__|__--listq dpkg-split -d__|__--discard__ [[''package package'' ...] !!DESCRIPTION __dpkg-split__ splits Debian binary package files into smaller parts and reassembles them again, to support the storage of large package files on small media such as floppy disks. It can be operated manually using the __--split__, __--join__ and __--info__ options. It also has an automatic mode, invoked using the __--auto__ option, where it maintains a queue of parts seen but not yet reassembled and reassembles a package file when it has seen all of its parts. The __--listq__ and __--discard__ options allow the management of the queue. All splitting, joining and queueing operations produce informative messages on standard output; these may safely be ignored. !!ACTION OPTIONS __--split__, __-s__ Splits a single Debian binary package into several parts. The parts are named ''prefix''__.__''N''__of__''M''__.deb__ where ''N'' is the part number, starting at 1, and ''M'' is the total number of parts (both in decimal). If no ''prefix'' is supplied then the ''complete-archive'' filename is taken, including directory, with any trailing __.deb__ removed. __--join__, __-j__ Joins the parts of a package file together, reassembling the original file as it was before it was split. The part files given as arguments must be all the parts of exactly the same original binary file. Each part must occur exactly once in the argument list, though the parts to not need to be listed in order. The parts must of course all have been generated with the same part size specified at split time, which means that they must usually have been generated by the same invocation of __dpkg-split --split__. The parts' filenames are not significant for the reassembly process. By default the output file is called ''package''__-__''version''__.deb__. __--info__, __-I__ Prints information, in a human-readable format, about the part file(s) specified. Arguments which are not binary package parts produce a message saying so instead (but still on standard output). __--auto__, __-a__ Automatically queue parts and reassemble a package if possible. The ''part'' specified is examined, and compared with other parts of the same package (if any) in the queue of packages file parts. If all parts of the package file of which ''part'' is a part are available then the package is reassembled and written to ''complete-output'' (which should not usually already exist, though this is not an error). If not then the ''part'' is copied into the queue and ''complete-output'' is not created. If ''part'' is not a split binary package part then __dpkg-split__ will exit with status 1; if some other trouble occurs then it will exit with status 2. The __--output__ or __-o__ option must be supplied when using __--auto__. (If this were not mandatory the calling program would not know what output file to expect.) __--listq__, __-l__ Lists the contents of the queue of packages to be reassembled. For each package file of which parts are in the queue the output gives the name of the package, the parts in the queue, and the total number of bytes stored in the queue. __--discard__, __-d__ This discards parts from the queue of those waiting for the remaining parts of their packages. If no ''package'' is specified then the queue is cleared completely; if any are specified then only parts of the relevant package(s) are deleted. __--help__, __-h__ Prints __dpkg-split__'s usage message, giving a summary of its options and their uses. __--version__ Prints __dpkg-split__'s version number. __--licence__ Prints information about __dpkg-split__'s copyright licensing and lack of warranty. (The American spelling __--license__ is also supported.) !!OTHER OPTIONS __--depotdir__ ''directory'' Specifies an alternative directory for the queue of parts awaiting automatic reassembly. The default is __/var/lib/dpkg__. __--partsize__|__-S__ ''kbytes'' Specifies the maximum part size when splitting, in kilobytes (1024 bytes). The default is 450Kb. __--output__|__-O__ ''complete-output'' Specifies the output file name for a reassembly. This overrides the default for a manual reassembly (__--join__) and is mandatory for an automatic queue-or-reassemble (__--auto__). __--npquiet__, __-Q__ When doing automatic queue-or-reassembly __dpkg-split__ usually prints a message if it is given a ''part'' that is not a binary package part. This option suppresses this message, to allow programs such as __dpkg__ to cope with both split and unsplit packages without producing spurious messages. __--msdos__ Forces the output filenames generated by __--split__ to be msdos-compatible. This mangles the prefix - either the default derived from the input filename or the one supplied as an argument: alphanumerics are lowercased, plus signs are replaced by __x__'s and all other characters are discarded. The result is then truncated as much as is necessary, and filenames of the form ''prefixN''__of__''M''__.deb__ are generated. !!EXIT STATUS An exit status of 0 indicates that the requested split, merge, or other command succeeded. __--info__ commands count as successful even if the files are not binary package parts. An exit status of 1 occurs only with __--auto__ and indicates that the ''part'' file was not a binary package part. An exit status of 2 indicates some kind of trouble, such as a system call failure, a file that looked like a package part file but was corrupted, a usage error or some other problem. !!BUGS __dpkg-split__ uses some rather out-of-date conventions for the the filenames of Debian packages. Full details of the packages in the queue are impossible to get without digging into the queue directory yourself. There is no easy way to test whether a file that may be a binary package part is one. The architecture is not represented in the part files' header, only in the control information of the contained binary package file, and it is not present in the filenames generated. !!FILES __/var/lib/dpkg/parts__ The default queue directory for part files awaiting automatic reassembly. The filenames used in this directory are in a format internal to __dpkg-split__ and are unlikely to be useful to other programs, and in any case the filename format should not be relied upon. !!SEE ALSO deb(5), deb-control(5), __dpkg-deb__(1), dpkg(8) !!AUTHOR __dpkg-split__ and this manpage were written by Ian Jackson. They are Copyright (C) 1995-1996 by him and released under the GNU General Public Licence; there is NO WARRANTY. See __/usr/share/dpkg/copyright__ and __/usr/share/common-licenses/GPL__ for details. ----
One page links to
dpkg-split(8)
:
Man8d
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.