Have you ever met with this error “System Program Problem Detected” on your Ubuntu system ? Does it come always and annoys you to close it every time ?
This error generally comes when any program get crashed.The Apport program reports the debug result to Ubuntu developers. For good reasons the apport program is awesome and it helps developers to improvise the Ubuntu O.S.
Crash Report Files
Crash reports files are created by apport program at /var/crash directory. At the time of writing this post, I got the error “System Program Problem Detected”.
I checked my Ubuntu system and found a file in /var/crash
Below given is example from my system.
sharad@linuxworld:~$ ls /var/crash susres.2014-06-20_08:11:26.263238.crash sharad@linuxworld:~$
The error will show on desktop at every booting of system, until you remove all the files from /var/crash directory.
sudo rm /var/crash/*
By removing all crash report you should not get the error now. But by the chance, there is still a crash report file in /var/crash the error will come again.
Disable apport for error – “System Program Problem Detected”
To permanently disable this error to come on desktop, we will disable apport.
Use below given command to replace enabled=1 to enabled=0 in /etc/default/apport file
sudo sed -i 's/enabled=1/enabled=0/g' /etc/default/apport
Restart the apport service now.
sudo /etc/init.d/apport restart
After using above given sed command, the file /etc/default/apport has below given content like this. (Notice enabled=0 )
sharad@linuxworld:~$ cat /etc/default/apport # 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=0 sharad@linuxworld:~$
Now even after reboot of system at any time, the error “System Program Problem Detected” will not appear.
Recommended Reading : Apport