Created
September 18, 2015 21:25
-
-
Save gnanet/c70f84217bd9d76225af 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