How to fix the “System program problem detected” error on Ubuntu

Reading Time: 2 minutes

Sometimes we face an error with a certain pop-up. That error “System program problem detected” comes up when a certain application crashes on our system. Ubuntu has a program called Apport that is responsible for detecting such kinds of crashes in our system and upon user consent, reporting these crashes to developers. This process intends to get the problem fixed by the developers.

However it can be very annoying to common users, and there is no point in showing errors to users when they cannot do anything about it themselves. So you might want to disable them.

1. Remove crash report files

The apport system creates crash report files in the /var/crash directory. These crash report files cause the error message to appear every time whenever we boot the system.

We just need to remove the crash report files-

After removing all the crash report files, the error message should stop popping up. However, if a new crash takes place then it would appear again in the future. We can do the same for that also.

2. Turn off apport

After removing the old crash reports, if you are still facing the same error message, then you can completely turn off apport to get rid. Now we can edit the configuration file of apport which is located at /etc/default/apport. We can use any editor( vi,in, nano or cat) to edit the configuration file.

The file would contain something like this as below-

We just need to set the value of enabled from 1 to 0, and this will disable apport.

enabled=1 to enabled=0

Save the file and close it. From the next boot onwards, there should be no error messages ever. If you do not want to restart the system then restart apport from the command line.

$ sudo restart apport


Now we will not see the same pop-up. Mostly after executing the first method we will not get the same message or pop up. If you are facing the same problem then we can use the second method.

Reference –

Written by 

Mohd Muzakkir Saifi is a Software Consultant at Knoldus Software. He loves to take deep dives into cloud technologies & different tools. His hobbies are playing gymnastics and traveling.