Luckily, there is a way to disable apport in Ubuntu, and it is pretty simple. Open a terminal and type: Change the to

Save and exit. That’s it.