Wednesday, April 1, 2020

apport-autoreport.service is a disabled or a static unit, not starting it.

sudo apt upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apport apport-gtk python3-apport python3-problem-report



 after the latest update i got

apport-autoreport.service is a disabled or a static unit, not starting it.



Why is apport disabled by default?
Apport is not enabled by default in stable releases, even if it is installed. The automatic crash interception component of apport is disabled by default in stable releases for a number of reasons:
https://wiki.ubuntu.com/Apport

systemctl list-unit-files | grep apport
apport-autoreport.path                                           enabled     
apport-autoreport.service                                        static       
apport-forward@.service                                          static       
apport.service                                                   generated   
apport-forward.socket                                            enabled 


so wtf is wrong???



As of Ubuntu 16.04 systemd apport does not seem to honor its config file
https://askubuntu.com/questions/93457/how-do-i-enable-or-disable-apport



sudo apt-get update
sudo apt-get remove apport
sudo rm /etc/cron.daily/apport

sudo apt-get remove apport
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apport-symptoms python3-systemd
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  apport apport-gtk
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 996 kB disk space will be freed.
Do you want to continue? [Y/n] y
Abort.

 sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.