How to get started with Linux: Disable Ubuntu's Apport internal Error Reporting Program

Source: Internet
Author: 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, 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

  1. $ 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:

  1. 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.

  1. $ 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.