New answers tagged diff
gzip is encoding the filename of the input file into its output. Even with -c option it does this. You can see this with gzip -c some_file | strings|head -1. however, when reading from stdin, gzip does not do that, since it doesn't know the filename. You can tell gzip to omit from output the filename and time-stamp with -n.
diff -Naur dir1/ dir2/ Pretty useful for submitting software patches, incidentally: diff -Naur orig/ patched/ > my_changes.diff
You need to be in the root directory to apply the patch with an absolute path, and apply the -p0 option. See also this post.
The more general approach is to compare the two source packages corresponding to the version you're upgrading from and the version you're upgrading to. To find the former you may need to look through the snapshots; the latter should be available from your archive. Then run debdiff on the two .dsc files. Here's an example, comparing stella 4.1.1-1 (the ...
You can download the source code from the Debian repositories using: apt-get source <PACKAGE> It will download 3 files, a .dsc that describes the package, a .orig.tar.gz that contains the source code, and a .diff.gz that contains the changes. This will work if in /etc/apt/sources.list/ you have included deb-src entries, for example: deb ...
Top 50 recent answers are included