Put an unpacked .deb file back together Using dpkg-repack

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, files in /etc modified),the new package will inherit the changes.
Continue reading…

 

Replace binaries and Files with dpkg-divert

File `diversions’ are a way of forcing dpkg not to install a file into its location, but to a `diverted’ location. Diversions can be used through the Debian package scripts to move a file away when it causes a conflict. System administrators can also use it to override some package’s configuration file, or whenever some […]
Continue reading…