Prevent pop up every time I plug in headphones in 16.04

Every time I plug in headphones, this pops onto my screen:

unknown audio device

I will never, for the rest of my life, use a headset. I have no interest in this option.

Clicking Sound Settings does not provide the opportunity to use headphones as the default until the end of time (or any amount of time).

How might I prevent this pop up from appearing?


Solution 1:

I was facing the same issue a long time back.
but after upgrading to the latest version of ubuntu solved this problem
Right now I am using Ubuntu 20.04 and it this problem is solved.

sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y