How to fix system program problem detected error in Ubuntu Linux? Here is how to fix Ubuntu apport error.
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.
By default, apport provides the following functionality for all programs in Ubuntu:
- When a program segfaults, apport stores a persistent crash report in /var/crash which can be later analyzed even if the bug cannot be reproduced by a developer
- Relevant information about the state of the system and installed software is automatically included in the report
- Apport can semi-automatically attach the crash report to a bug report in Launchpad
The Apport generates info about the values of ProblemType:
- Bug: The user has run ubuntu-bug manually to report an issue.
- Crash: Apport automatically detected a program crash.
- Hang: Apport automatically detected a program has stopped responding.
- Package: Apport automatically detected a program in a package failed to install/upgrade correctly.
- KernelOops: Apport detected that the kernel encountered a situation that should not have arisen (non fatal).
- KernelCrash: Apport detected that the kernel crashed (on a previous boot).
Method 1 To Fix System Program Problem Detected In Ubuntu
Disabling the Apport will get rid of system crash report. To do so, open terminal and run the following command to edit the Apport settings file:
sudo gedit /etc/default/apport &
Under the content of the file, change the enabled=1 to enabled=0. Save and close the file.
You must restart the apport via the following command:
sudo restart apport
Method 2
The easiest method to fix system program problem detected error in Ubuntu is by deleting crash reports for Ubuntu Systems. To do so, open the terminal and run the following command:
sudo rm /var/crash/*
Upon execution the command will delete all the content of directory /var/crash file and the error pop up for the programs crash will not be shown. It must be noted that if a program crashes again (after celeting crash reports), you’ll again see system program problem detected error message again.