Turn Off Internal System Error Apport Popups In Ubuntu

Apport is a debugging tool that automatically generates crash reports. In the final Ubuntu 12.04 release, Apport is enabled by default (unlike in the previous Ubuntu versions) and at least on my system, I keep getting "Sorry, Ubuntu 12.04 has experienced an internal error" popups, which can't be reported, a few times a day. Here's how to disable these error popups, like in the previous Ubuntu versions.