Linux "dpkg-split" Command Line Options and Examples
Debian package archive split/join tool

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.


Usage:

dpkg-split [option...] command






Command Line Options:

--depotdir
Specifies an alternative directory for the queue of parts awaiting automatic reassembly. The default is /var/lib/dpkg.
dpkg-split --depotdir ...
-S
Specifies the maximum part size when splitting, in kibibytes (1024 bytes). The default is 450 KiB.
dpkg-split -S ...
-o
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).
dpkg-split -o ...
-Q
When doing automatic queue-or-reassembly dpkg-split usually prints a message if it is given a part that is not a binarypackage part. This option suppresses this message, to allow programs such as dpkg to cope with both split and unsplit packageswithout producing spurious messages.
dpkg-split -Q ...
--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: alphanumericsare 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 prefixNofM.deb are generated.EXIT STATUS0 The requested split, merge, or other command succeeded. --info commands count as successful even if the files are not binarypackage parts.1 Only occurs with --auto and indicates that the part file was not a binary package part.2 Fatal or unrecoverable error due to invalid command-line usage, a file that looked like a package part file but was corrupted,or interactions with the system, such as accesses to the database, memory allocations, etc.ENVIRONMENTSOURCE_DATE_EPOCHIf set, it will be used as the timestamp (as seconds since the epoch) in the deb-split(5)'s ar(5) container.FILES/var/lib/dpkg/partsThe 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.BUGSFull 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.
dpkg-split --msdos ...