Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpkg-genbuilddeps(1) [linux man page]

DPKG-GENBUILDDEPS(1)                                          General Commands Manual                                         DPKG-GENBUILDDEPS(1)

NAME
dpkg-genbuilddeps - generate a list of packages used to build this package SYNOPSIS
dpkg-genbuilddeps [arg ...] DESCRIPTION
This program is a wrapper around dpkg-depcheck(1). It should be run from the top of a Debian build tree. It calls dpkg-buildpackage with any arguments given on the command line, and by tracing the execution of this, it determines which non-essential packages were used during the package building. This can be useful in determining what the Build-Depends control fields should contain. It does not determine which packages were used for the arch independent parts of the build and which for the arch dependent parts, not does it attempt to determine which versions of packages are required. It should be able to run under fakeroot rather than being run as root, as fakeroot dpkg-genbuild- deps, or dpkg-genbuilddeps -rfakeroot. This program requires the build-essential package to be installed. If it is not, please use dpkg-depcheck directly, with a command such as dpkg-depcheck --all dpkg-buildpackage -us -uc -b -rfakeroot ... All this program itself does is essentially to run the command: dpkg-depcheck -b dpkg-buildpackage -us -uc -b -rfakeroot [arg ...] SEE ALSO
The Debian Policy Manual, sections on Build-Depends etc., dpkg-depcheck(1) and fakeroot(1). AUTHOR
The original dpkg-genbuilddeps was written by Ben Collins <bcollins@debian.org>. The current version is a simple wrapper around dpkg- depcheck written by Bill Allombert <ballombe@debian.org>. This manual page was written by Julian Gilbey <jdg@debian.org>. DEBIAN Debian Utilities DPKG-GENBUILDDEPS(1)

Check Out this Related Man Page

DPKG-REPACK(1)						      General Commands Manual						    DPKG-REPACK(1)

NAME
dpkg-repack - put an unpacked .deb file back together SYNOPSIS
dpkg-repack [--root=dir] [--arch=architecture] [--generate] packagename [packagename ...] DESCRIPTION
dpkg-repack creates a .deb file out of a Debian package that has already been installed on your system. If any changes have been made to the package while it was unpacked (ie, conffiles files in /etc modified), the new package will inherit the changes. (There are exceptions to this, including changes to configuration files that are not conffiles, including those managed by ucf.) This utility can make it easy to copy packages from one computer to another, or to recreate packages that are installed on your system, but no longer available elsewhere. Note: dpkg-repack will place the created package in the current directory. OPTIONS
--root=dir Take package from filesystem rooted on <dir>. This is useful if, for example, you have another computer nfs mounted on /mnt, then you can use --root=/mnt to reassemble packages from that computer. --arch=architecture Make the package be for a different architecture. dpkg-repack cannot tell if an installed package is architecture all or is spe- cific to the system's architecture, so by default it uses dpkg --print-architecture to determine the build architecture. If you know the package is architecture all, you can use this option to force dpkg-repack to use the right architecture. --generate Generate a temporary directory suitable for building a package from, but do not actually create the package. This is useful if you want to move files around in the package before building it. The package can be built from this temporary directory by running "dpkg --build", passing it the generated directory. packagename The name of the package to attempt to repack. Multiple packages can be listed. BUGS
This program accesses the dpkg database directly in places, querying for data that cannot be gotten via dpkg. There is a tricky situation that can occur if you dpkg-repack a package that has modified conffiles. The modified conffiles are packed up. Now if you install the package, dpkg does not realize that the conffiles in it are modified. So if you later upgrade to a new version of the package, dpkg will believe that the old (repacked) package has older conffiles than the new version, and will silently replace the conffiles with those in the package you are upgrading to. While dpkg-repack can be run under fakeroot and will work most of the time, fakeroot -u must be used if any of the files to be repacked are owned by non-root users. Otherwise the package will have them owned by root. dpkg-repack will warn if you run it under fakeroot without the -u flag. AUTHOR
Joey Hess <joeyh@debian.org> DEBIAN
Debian Utilities DPKG-REPACK(1)
Man Page