Problem: Since I installed the latest Ubuntu 16.04 I was troubled with the frequent Apport pop up with the message “Sorry, Ubuntu 16.04 has experienced an internal error”. This is strange as this is the stable long term support (LTS) version, not a beta version where such “internal error” messages are common. The full error message reads as follows:
Sorry, Ubuntu 16.04 has experienced an internal error. If you notice further problems, try restarting the computer. Send an error report to help fix the problem.
Moreover the error it is talking about cannot be reported as well, which further frustrates me (and I assume, you as well).
Reason: Apport is a debugging tool that is used to generate crash reports. This was not enabled by default in previous versions but that has changed since Ubuntu 12.04. To avoid this annoying pop-up, the Apport can be disabled by force. One drawback of doing it will be that you wont see the crash report but it is safe any ways as there is hardly any actual crash or error.
Solution: To disable the Apport, you need to modify the “/etc/default/apport” file. Use the command below to open the file in GEdit text editor:
gksu gedit /etc/default/apport
The content of the file is:
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
Change the enabled=1 to enabled=0. Save and close the file.
You should not get the annoying frequent pop-up displaying the error “Sorry Ubuntu 14.04 has experienced an internal error” any more. Enjoy your Ubuntu experience. Stay tuned on the blog for more updates :)
Same solution applies to Ubuntu 16.04 and 17.10 as well. So if you see “Sorry Ubuntu 16.04 has experienced an internal error“, feel free to use this fix.
Sources: Ubuntu Forum, Webupd8.org