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 metrics reporting in Ubuntu
"ubuntu-report" reports hardware and other collected metrics like installer or upgrade information. Reported data includes but is not limited to: The Ubuntu version and its flavor, • Whether there is network connectivity, • CPU family, • RAM, • Disk(s) size, • Screen(s) resolution, • GPU model and manufacturer, • OEM manufacturer, • Location (based on the location selection made by the user at install), • Installation duration (time taken), • Whether auto-login is enabled, • Selected disk layout...
Disable online search result collection (collects queries)
Online search is introduced in Ubuntu Lens in Ubuntu 12.10. It has been known as "Shopping Lens", "Online Search Results" and "More Suggestions". The search data is sent to "productsearch.ubuntu.com". Online search results are considered a privacy concern by governments and can be disabled using the "remote-content-search" option.
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 participation in metrics reporting in Ubuntu
This script uses the "ubuntu-report" CLI to opt you out of data submission. Alternatively, one can opt out during the installation of Ubuntu.
Disable Ubuntu error tracker
Ubuntu's error tracker explains crashes, hangs, and other severe errors to end users; lets them report an error; and collects these reports and shares them with Ubuntu. Error reports are also accessible to trusted Ubuntu developers who are not employed by Canonical. See "the Ubuntu error tracker | errors.ubuntu.com" that shows error statistics to the public.: https://web.archive.org/web/20221029162649/https://wiki.ubuntu.co...
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.
Remove Ubuntu Report tool ("ubuntu-report")
"ubuntu-report" is installed as an apt package and can be uninstalled in this way. Once uninstalled, the "send" command will function and therefore no data will be collected.