dpkg-repack - Debian package archiving tool

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Main amd64
Package name: dpkg-repack
Package version: 1.41
Package release:
Package architecture: all
Package type: deb
Installed size: 55 B
Download size: 9.24 KB
Official Mirror: archive.ubuntu.com
dpkg-repack creates a .deb file out of a package that has already been installed. If any changes have been made to the package while it was unpacked (i.e. files in /etc were modified), the new package will inherit the changes. 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, or to store the current state of a package before you upgrade it.




    Binary package: dpkg-repack_1.41_all.deb
    Source package: dpkg-repack

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install dpkg-repack deb package:
      # sudo apt-get install dpkg-repack


    • /usr/bin/dpkg-repack
    • /usr/share/doc/dpkg-repack/README
    • /usr/share/doc/dpkg-repack/changelog.gz
    • /usr/share/doc/dpkg-repack/copyright
    • /usr/share/man/man1/dpkg-repack.1.gz


    2015-04-11 - Guillem Jover <guillem@debian.org> dpkg-repack (1.41) unstable; urgency=low * Actually fix the blank line insertion for the descriptor mangling. * Add a Vcs-Browser field. * Slightly reword package Description. * Remove blank lines between sections in man page. * Mark architecture all in bold in man page.

    2014-11-25 - Guillem Jover <guillem@debian.org> dpkg-repack (1.40) unstable; urgency=low * New maintainer. Closes: #768511 * Update project information (homepage, releases and VCS). * Expand debian/copyright to include an explicit «Copyright ©» and the full GPL-2+ license notice. * Update license notice in dpkg-repack to match the one in debian/copyright, by adding the «or later» clause. See #768511. * Switch from FSF postal address to a URL. * Move Getopt::Long use declaration to the top of the file. * Replace -w in the shebang with an explicit use warnings declaration. * Improve man page formatting. - Generalize the SYNOPSIS. - Mark programs, command-line arguments and field names in bold. - Mark variable text in italic. - Use italic instead of <> to mark variable text. - Change .TH line to include the date and version, and to mention this is now part of the dpkg suite. - Spell package name with a dash. * Add references to external man pages, and append the section number to program references. * Use low-precedence operators for error handling constructs. * Use scalar variables instead of barewords for filehandles. * Use three-form open call. * Use package lexical variables instead of global ones. * Pass around control file data as an array of lines. * Make $packagename a loop lexical variable. * Remove unused $control variable. * Set $dirty_flag to 0 when we have done the cleanup. * Pass a filehandle reference instead of a bareword to print(). * Uppercase and rename HERE-doc marker from eof to USAGE. * Rework usage output. * Add a --help option. * Add a --version option. * Do not unnecessarily interpolate strings. * Remove & sigil from GetOptions function call. * Use correct operator for numeric value in $> comparison. * Convert debian/rules from dh(1) to explicit debhelper commands. * Bump Standard-Version to 3.9.6 (no changed needed). * Switch to source format “3.0 (native)”. * Bump debhelper compatibility to level 9. * Fix description mangling to add a proper blank line separator. * Fix example dpkg-deb invocation in dpkg-repack(1) --generate description to create a properly named binary package. Closes: #767220 * Add new -d, --deb-option to allow passing build options to dpkg-deb. Closes: #661953

    2014-11-07 - Joey Hess <joeyh@debian.org> dpkg-repack (1.39) unstable; urgency=medium * Orphaned dpkg-repack.

    2014-08-31 - Joey Hess <joeyh@debian.org> dpkg-repack (1.38) unstable; urgency=medium * Do not filter list and conffiles control files from --control-path. Thanks, Guillem Jover * Use Die instead of die so that cleanup is performed on error. Thanks, Guillem Jover * Use dpkg-deb directly instead of indirectly through the dpkg frontend Thanks, Guillem Jover * Misc man page fixes. Thanks, Guillem Jover

    2011-12-06 - Joey Hess <joeyh@debian.org> dpkg-repack (1.37) unstable; urgency=low * Fix generation of conffiles list file. For some reason dpkg-query does not list this file, so it has to be generated when there's a Conffiles stanza in the package status. Closes: #651165 * Remove the Conffiles stanza from the generated package's control file; dpkg ignores it anyway.

    2011-10-08 - Joey Hess <joeyh@debian.org> dpkg-repack (1.36) unstable; urgency=low * Fix check for non-installed packages to not misfire on a package that has no dpkg control files. Closes: #644619

    2011-06-17 - Joey Hess <joeyh@debian.org> dpkg-repack (1.35) unstable; urgency=low * Does not need to depend on dpkg-dev. Closes: #616318 * Fix dpkg-query call to support --rootdir. (Evan Dandresa) Closes: #630765