Instantly share code, notes, and snippets.

Embed
What would you like to do?
Howto repackage deb packages
Use folowing steps to repackage dep package:
1: Extract deb package
# dpkg-deb -x <package.deb> <dir>
2: Extract control-information from a package
# dpkg-deb -e <package.deb> <dir/DEBIAN>
3. After completed to make changes to the package, repack the deb
# dpkg-deb -b <dir> <new-package.deb>
@bmhatfield

This comment has been minimized.

Show comment
Hide comment
@bmhatfield

bmhatfield Jun 30, 2015

Thanks for this. Most concise form of this I've seen. Might want to mention updating md5sums: https://blog.serverdensity.com/how-to-create-a-debian-deb-package/

bmhatfield commented Jun 30, 2015

Thanks for this. Most concise form of this I've seen. Might want to mention updating md5sums: https://blog.serverdensity.com/how-to-create-a-debian-deb-package/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment