InfluxDB can't unistall completly

I wanted to unistall influxDB using RaspOS (very similar to linux).
When I did the command sudo apt remove influxdb, everything worked fine, and I do not even see the package using sudo dpkg -l.
But when I use sudo apt update to install the latest kernel of my rasp, I see this error:

I don’t want to see it, please help.

You simply need to delete the file under /etc/apt/sources.list.d which points
at the InfluxDB repository and then do an apt-get update.