Revenge of the Titans Workaround

If you haven’t already, you should check out the Humble Indie Bundle #2. If you have, and are running a Debian-based Linux, you may have run into the following problem:

jeff@metzger ~/Downloads> sudo dpkg -i RevengeOfTheTitans-HIB-i386.deb 
Selecting previously deselected package revenge-of-the-titans.
(Reading database ... 207859 files and directories currently installed.)
Unpacking revenge-of-the-titans (from RevengeOfTheTitans-HIB-i386.deb) ...
dpkg: error processing RevengeOfTheTitans-HIB-i386.deb (--install):
 unable to create `/opt/revengeofthetitans/full_length_music/einleitung.mp3.dpkg-new' (while processing `/opt/revengeofthetitans/full_length_music/einleitung.mp3'): No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for python-support ...
Errors were encountered while processing:

If so, I have found this workaround helpful:

ar x RevengeOfTheTitans-HIB-i386.deb
tar xf data.tar.gz
rm data.tar.gz
tar cfz data.tar.gz usr/ opt/
cp RevengeOfTheTitans-HIB-i386.deb RevengeOfTheTitans-HIB-i386-fixed.deb
ar r RevengeOfTheTitans-HIB-i386-fixed.deb data.tar.gz

It should go without saying that this workaround is not thoroughly tested and may eat your computer.