Manpages DPKG-REPACKSection: Misc. Reference Manual Pages (1L)Updated: Debian Utilities Index Return to Main Contents NAMEdpkg-repack - Utility to put an unpacked .deb file back togetherSYNOPSISdpkg-repack [--root=dir] [--arch=architecture] packagename [packagename ...]DESCRIPTIONdpkg-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, files in /etc 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. Note: dpkg-repack will place the created package in the current directory. OPTIONS
BUGSThis 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 belive 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. AUTHORJoey Hess <joeyh@debian.org>
IndexThis document was created by man2html, using the manual pages. Time: 04:05:28 GMT, May 09, 2025 |