How to disable Apport pop-up message without disabling Apport?

Is there a way to disable the Apport pop-up dialog error message that appears when an Ubuntu error occurs without disabling Apport?

Message that appears in the pop-up: "Sorry, Ubuntu 16.04 has experienced an internal error."


Solution 1:

Apport doesn't actually pop up these messages, update-notifierdoes that for you.

If you want to to disable these, you can do it via

gsettings set com.ubuntu.update-notifier show-apport-crashes false

Apport will not be affected by this.