Forked from gnanet/update-deb-new-upstream-notes.txt
Created
January 18, 2026 12:10
-
-
Save ogmkp/459e9e57ea8029a547102c75e54e059f to your computer and use it in GitHub Desktop.
NOTES: Updating a Debian package with a new upstream release generalized
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Based on http://blog.fili.nl/updating-a-debian-package-with-a-new-upstream-release/ | |
| wget {URL OF NEW UPSTREAM SOURCE TAR.GZ} | |
| sudo apt-get install devscripts | |
| sudo apt-get build-dep {PACKAGENAME} | |
| sudo apt-get source {PACKAGENAME} | |
| cd {PACKAGESOURCE-DIR} | |
| uupdate ../{NEW UPSTREAM SOURCE TAR.GZ} -v {NEW UPSTREAM VERSION} | |
| cd ../{NEW UPSTREAM PACKAGESOURCE-DIR} | |
| dpkg-buildpackage -us -uc -nc | |
| #This may warn about issues with genchanges, but if the .deb file is created, you do not need to care about it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment