Disable Apport service
The Apport service can be stopped using the following command: "systemctl stop apport". Stopping the service can mitigate the risk of Ubuntu not respecting the opt-out configuration. This has happened before in different Ubuntu versions, as reported by the community. This script is used as part of a post-installation script by the National Cyber Security Centre in the UK.
Disable crash report submissions
Once opted-out Whoopsie disables the related service. This script is used as part of a post-installation script by the National Cyber Security Centre in the UK.
Disable creating crash reports to send (Apport)
Apport intercepts program crashes, collects debugging information about the crash and the operating system environment, and sends it to bug trackers in a standardized form. It also allows the user to report a bug about a package by collecting as much information about it as possible. Disabling Apport prevents the UI which informs the user about the crash and instructs them on how to proceed because that dialog is part of Apport. Furthermore, Apport creates crash report files in the "/var/crash" ...
Disable participation in Apport error messaging system
Opting out of Apport prevents it from creating crash files after a crash. It can be disabled by setting "enabled=0" in "/etc/default/apport". This setting comes enabled by default in a clean installation of Ubuntu and some of its derivatives (such as Pop!_OS). This script is used as part of a post-installation script by the National Cyber Security Centre in the UK.
Disable uploading errors (Whoopsie)
The software responsible for uploading crash reports is called Whoopsie. It's always running on Ubuntu systems, watching the "/var/crash" directory for crash reports (that usually Apport creates) to send over the internet to Canonical servers at "http://daisy.ubuntu.com" for further processing. Along with the crash report, it sends a unique identifier (GUID) for your computer in "/etc/default/whoopsie". Apport only uploads data if package "whoopsie" is installed; otherwise it appears to be uploa...
Disable Whoopsie service
Whoopsie works through a service file created in "/lib/systemd/system/whoopsie.service". This script disables this service to immobilize the main functionality of Whoopsie. This script is used as part of a post-installation script by the National Cyber Security Centre in the UK.
Remove "apport" package
The "apport" package is responsible for automatically generating crash reports for debugging. Apport software is provided using multiple packages such as "apport", "python3-apport", "apport-gtk", "apport-kde", among others. This script removes the main "apport" package that would lead other dependencies to be in orphaned states that can be auto-removed. It does not attempt to remove all packages in the suite as these can cause side effects and unintended crashes, such as deleting `python3-apport...
Remove "whoopsie" package
This script uninstalls the "whoopsie" package. This package is used for error tracker submission in Ubuntu.