Ubuntu Oracle JDK 7 is NOT installed 해결법

Ubuntu에서 Oracle JDK를 설치하다 보면 아래와 같은 에러가 발생하는 경우가 있습니다.
Download done.
Removing outdated cached downloads...
sha256sum mismatch jdk-7u51-linux-x64.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up gsfonts-x11...