Disabling Apport Error Reporting on Ubuntu
What is Apport ?
Apport is an Error Reporting Service provided by Ubuntu to intercept and analyze crashes and bugs as and when they occur. Crashes and Bugs may sound like bad things, but actually most operating systems will have several a day, and it doesn’t mean your computer is broken, nor does it necessarily stop working. As such, Apport can usually be safely disabled, as it doesn’t fix anything, it just tells developers that something went wrong.
Ubuntu 12.04 is the first release of Ubuntu that ships with Apport Error Reporting enabled by default, and as a result, you may get a large quantity of Internal System Error popups inside Ubuntu. Similar popups may also read Sorry, Ubuntu 12.04 has experienced an internal error. These popups are part of Apport, an internal debugger which automatically generate reports to submit for packages that crash. Many reports can’t be filed or have already been filed, and as such it is usually safe to turn off.
You can stop the currently running Apport service with the following command.
sudo service apport stop
Note that unless you remove it or disable it at boot it will start again the next time you turn on your computer.
Disable Apport at Boot
You need to manually edit a file to Stop Apport Running at Boot (when you turn on your machine. Open the Terminal, and paste the following command with Ctrl+Shift+V, or type it in manually.
sudo nano /etc/default/apport
Change the line that says enabled=1 to enabled=0 to disable Apport. To re-enable, change it back.
It is fairly simple to uninstall Apport, as you can open the Ubuntu Software Centre, search for apport, and simply click Remove.
A similar process can be used for the package apport in both Synaptic and the Terminal.
sudo apt-get purge apport
Even thought it is safe to uninstall apport, I don’t really recommend it, just in case you want to enable it back, stopping apport is already enough.