I actually don't know the answer to this, but this is how I would find out:
netstat
has a -p
flag that will show the process/pid that has a network connection open. So, your netstat -tup
command can be enhanced to:
sudo netstat -tup | grep 48293.kwaimuk.canonical
(You need to be root for -p to work). The final field on the line should be a PID. If the process name just says python, get the full script name via:
ps auxw | grep PID
Now hopefully you have the location of a script/program that's using this connection. Probably something.py.
Find which package it's in via dpkg
:
dpkg -S /usr/local/bin/something.py
And now you can apt-get remove
the offending package. Caution here as ever, be careful what dependencies it also tries to remove.