Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
dpkg-deb(1)
Edit
PageHistory
Diff
Info
LikePages
DPKG-DEB !!!DPKG-DEB NAME SYNOPSIS DESCRIPTION ACTION OPTIONS OTHER OPTIONS BUGS SEE ALSO AUTHOR ---- !!NAME dpkg-deb - Debian package archive (.deb) manipulation tool !!SYNOPSIS __dpkg-deb -b__|__--build__ ''directory'' [[''archive''|''directory'']__ dpkg-deb -I__|__--info__ ''archive'' [[''control-file-name'' ..]__ dpkg-deb -f__|__--field__ ''archive'' [[''control-field-name'' ...]__ dpkg-deb -c__|__--contents__ ''archive''__ dpkg-deb -x__|__--extract__|__-X__|__--vextract__ ''archive directory''__ dpkg-deb --fsys-tarfile__ ''archive''__ dpkg-deb --control__ ''archive directory'' !!DESCRIPTION __dpkg-deb__ packs, unpacks and provides information about Debian archives. Use __dpkg__ to install and remove packages from your system. You can also invoke __dpkg-deb__ by calling __dpkg__ with whatever options you want to pass to __dpkg-deb__. __dpkg__ will spot that you wanted __dpkg-deb__ and run it for you. !!ACTION OPTIONS __--build__, __-b__ Creates a debian archive from the filesystem tree stored in ''directory''. ''directory'' must have a __DEBIAN__ subdirectory, which contains the control information files such as the control file itself. This directory will ''not'' appear in the binary package's filesystem archive, but instead the files in it will be put in the binary package's control information area. You can specify the compressionlevel used by adding a __-z#__ option. __dpkg-deb__ will pass that option on to gzip. Unless you specify __--nocheck__, __dpkg-deb__ will read __DEBIAN/control__ and parse it. It will check it for syntax errors and other problems, and display the name of the binary package being built. __dpkg-deb__ will also check the permissions of the maintainer scripts and other files found in the __DEBIAN__ control information directory. If no ''archive'' is specified then __dpkg-deb__ will write the package into the file ''directory''__.deb__. If the archive to be created already exists it will be overwritten. If the second argument is a directory then __dpkg-deb__ will write to the file ''package''_____''version''_____''arch''__.deb__, or ''package''_____''version''__.deb__ if no __Architecture__ field is present in the package control file. When a target directory is specified, rather than a file, the __--nocheck__ option may not be used (since __dpkg-deb__ needs to read and parse the package control file to determine which filename to use). __--info__, __-I__ Provides information about a binary package archive. If no ''control-file-name''s are specified then it will print a summary of the contents of the package as well as its control file. If any ''control-file-name''s are specified then __dpkg-deb__ will print them in the order they were specified; if any of the components weren't present it will print an error message to stderr about each one and exit with status 2. __--field__, __-f__ Extracts control file information from a binary package archive. If no __control-file-field__s are specified then it will print the whole control file. If any are specified then __dpkg-deb__ will print their contents, in the order in which they appear in the control file. If more than one __control-file-field__ is specified then __dpkg-deb__ will precede each with its field name (and a colon and space). No errors are reported for fields requested but not found. __--contents__, __-c__ Lists the contents of the filesystem tree archive portion of the package archive. It is currently produced in the format generated by __tar__'s verbose listing. __--extract__, __-x__, __--vextract__, __-X__ Extracts the filesystem tree from a package archive into the specified directory. __--vextract__ (__-X__) prints a listing of the files extracted as it goes, while __--extract__ (__-x__) is silent unless an error occurs. Note that extracting a package to the root directory will ''not'' result in a correct installation ! Use __dpkg__ to install packages. ''directory'' (but not its parents) will be created if necessary. __--fsys-tarfile__ Extracts the filesystem tree data from a binary package and sends it to standard output in __tar__ format. Together with __tar__ this can be used to extract a particular file from a package archive. __--control__, __-e__ Extracs the control information files from a package archive into the specified directory. If no directory is specified then a subdirectory __DEBIAN__ in the current directory is used. The target directory (but not its parents) will be created if necessary. __--help__, __-h__ Prints __dpkg-deb__'s usage message, giving a summary of its options and their uses. __--version__ Prints __dpkg-deb__'s version number. __--licence__ Prints information about __dpkg-deb__'s copyright licensing and lack of warranty. (The American spelling __--license__ is also supported.) !!OTHER OPTIONS __--new__ Ensures that __dpkg-deb__ builds a `new' format archive. This is the default. __--old__ Forces __dpkg-deb__ to build an `old' format archive. This old archive format is less easily parsed by non-Debian tools and is now obsolete; its only use is when building packages to be parsed by versions of dpkg older than 0.93.76 (September 1995), which was released as i386 a.out only. __--nocheck__ Inhibits __dpkg-deb --build__'s usual checks on the proposed contents of an archive. You can build any archive you want, no matter how broken, this way. __--debug__, __-D__ Enables debugging output. This is not very interesting. !!BUGS __dpkg-deb -I__ ''package1''__.deb__ ''package2''__.deb__ does the wrong thing. There is no authentication on __.deb__ files; in fact, there isn't even a straightforward checksum. Do not attempt to use just __dpkg-deb__ to install software ! You must use __dpkg__ proper to ensure that all the files are correctly placed and the package's scripts run and its status and contents recorded. !!SEE ALSO deb(5), deb-control(5), dpkg(8), dselect(8). !!AUTHOR __dpkg-deb__ 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/doc/dpkg/copyright__ and __/usr/share/common-licenses/GPL__ for details. ----
5 pages link to
dpkg-deb(1)
:
Man1d
deb-control(5)
deb-old(5)
dpkg(8)
dpkg-name(1)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.