Ubuntu: Recovering a corrupt .tgz / .tar.gz file

repairing / recovery of a broken or corrupt .tgz / .gz file is easy on Ubuntu:

  • first: Install the gzip recovery toolkit: „sudo apt-get install gzrt“
  • second: start recovery of the broken file: „gzrecover <filename>“

(see also http://www.urbanophile.com/arenn/coding/gzrt/gzrt.html)