Problem: In Ubuntu, I often encounter some pop-up windows, warning me that an internal error occurs in Ubuntu and asking me if I want to send an error report. Every time the software crashes, it will bother me. How can I turn off this error report function? The Ubuntu Desktop is pre-installed with Apport, which is an error collection system that collects software crashes, unhandled exceptions, and other issues, including program bugs, and generates crash reports for debugging purposes. When an application crashes or a Bug occurs, the Apport will warn the user and ask the user
Problem: In Ubuntu, I often encounter some pop-up windows, warning me that an internal error occurs in Ubuntu and asking me if I want to send an error report. Every time the software crashes, it will bother me. How can I turn off this error report function?
The Ubuntu Desktop is pre-installed with Apport, which is an error collection system that collects software crashes, unhandled exceptions, and other issues, including program bugs, and generates crash reports for debugging purposes. When an application crashes or a Bug occurs, Apport will warn the user through a pop-up window and ask the user whether to submit the crash report. You may have seen the following message.
- "Sorry, the application XXXX has closed unexpectedly ."
- "Sorry, the application XXXX was accidentally closed. "
- "Sorry, Ubuntu XX. XX has experienced an internal error ."
- "Sorry, an internal error occurred in Ubuntu XX. XX. "
- "System program problem detected ."
- "System Program problems detected. "
It may be because the application has been crashing, and frequent error reports can upset people. Maybe you are worried that Apport will collect and upload sensitive information about your Ubuntu system. For whatever reason, you want to disable the Apport Error Report function.
Temporarily disable Apport Error Report
If you want to temporarily disable Apport, use the following command
- $ Sudo service apport stop
Note that restarting the Apport of Ubuntu will continue to be enabled.
Permanently disable Apport error reports
To permanently disable Apport, edit/etc/default/apport and modify the following parameters:
- Enabled = 0
Restart your Ubuntu system. Apport will be automatically disabled.
If you no longer use Apport, there is a simple way to completely remove it.
- $ Sudo apt-get purge apport
Ubuntu 12.04 Disable Error Reporting http://www.linuxidc.com/Linux/2012-07/65530.htm
Ubuntu 14.04 how to disable apport Error Reporting http://www.linuxidc.com/Linux/2014-04/99605.htm
Disable Ubuntu 14.10 Error Reporting http://www.linuxidc.com/Linux/2014-09/107420.htm
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-01/111771.htm