Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Dexus/7c7239ddc80bb6b1095d68d2dd54cb85 to your computer and use it in GitHub Desktop.
Save Dexus/7c7239ddc80bb6b1095d68d2dd54cb85 to your computer and use it in GitHub Desktop.
NOTES: Updating a Debian package with a new upstream release generalized
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