How To Solve: Sorry, Ubuntu 12.04 Has Experienced An Internal Error

Problem: Since I installed the latest Ubuntu 12.04 I was troubled with the frequent Apport pop up with the message “Sorry, Ubuntu 12.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 12.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 in 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
enabled=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 12.04 has experienced an internal error” any more. Enjoy your Ubuntu experience. Stay tuned on the blog for more updates :)

Update:

Same solution applies to Ubuntu 12.10 and 13.04 as well. So if you see “Sorry Ubuntu 13.04 has experienced an internal error“, feel free to use this fix.

Suggested read
An Overview of Intel's Clear Linux, its Features and Installation Procedure

Sources: Ubuntu Forum, Webupd8.org

Add comment

E-mail is already registered on the site. Please use the Login form or enter another.

You entered an incorrect username or password

Sorry that something went wrong, repeat again!

29 comments

by Newest
by Best by Newest by Oldest
Alejandro Besné

Hi Abhishek, I try to do this but when I type the command in the terminal, the following message appears:
(gedit:2181): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
And the in the file doesn't show anything...
I don't know what's happening

try using
sudo -H gedit /etc/default/apport

Hope it helps!

I used sudo to do the command you provided. I get an error message that the file can't be changed. I tried going to etc/default/apport and editing it there. However the file is write protected by root. I am told I cannot access it. What do I do?

Author

In addition to what Janne has pointed, you can try this:
sudo gedit /etc/default/apport

or, if you are comfortable with VI command line editor, use the following:
sudo vi /etc/default/apport

P.S. Thanks Janne for detailed explanation.

Thanks, I used Janne's suggestion for sudo nano. Thanks for the answer.

Author

You are welcome :)

Basically gksu is a frontend for sudo / su so just the provided command should work. But if you're on the command line you can use sudo if you prefer - something like "sudo edit [filename]" should work. If you're in the /etc/default directory type "sudo nano apport"; if you're wherever else in the filesystem type the full path, e.g. "sudo nano /etc/default/apport". Omit the quotes!

Janne,

Thanks for the help. sudo nano did the trick.

hi.
can you tell me what should i need to do in the above error case.the solution suggested by you seems ok but the my problem is my system take take too much time for rebooting.and also prompting this bug.
i am suffering from this problem since from last 3 days.before that every thing was perfect.

Why do u want to deactivate the bug report app anyway?
It is like turning off fire alarm permenently since u dont like its sound

Author
Abhishek Prakash

It is annoying. It is repetitive. Even Ubuntu community member have been discussing to turn it off from stable releases.

Same problem for me with 13.04 and thanks for the tip to stop the annoyance ! However a problem still persists.

Author
Abhishek Prakash

Which problem?

The problem persists even with UBuntu 13.04. Thanks for the tip, Abhishek!

Still exists in 13.10 as well. (Using Xubuntu.)

I didn't experience this on Ubuntu 13.10 so far.

Author

It was there in Ubuntu 13.10 at the release time at least. I, too have not seen it in the latest install in my laptop, despite that it is still enabled.

Author
Abhishek Prakash

You are welcome.

I have also the same problem with 12.04 LTS. My Laptop was working perfectly until three days ago, but now it boots so slow and amazingly it takes quite long time to sign in ( it stays with the purple screen so long) please I need your help. I am a bit frustrated and thinking to re-install it. Please again looking for your help

this happens also in 12/10 ..In 12.04.1 lts version wich is "rock solid" this massage will pop up..they still havent fixed it.I think it is a shame

Author
Abhishek Prakash

Yes indeed... It is definitely a matter of shame that a problem carries over to another version.

You know i have feeling that ubuntu developers care more about new wallpapers and fancy useless stuff then stability and real problems.They try so hard to make popular system that they forgot about end user..Very good blog by the way keep it up

great job sir thanks

Author
Abhishek Prakash

welcome :)