Download from this link to your Download directory...
https://newreleases.io/project/github/influxdata/influxdb/release/v1.8.6
Change directory to Download directory
cd ./Downloads
and then input the commands above...
sudo dpkg -i influxdb_1.8.6_armhf.deb
sudo apt-mark hold influxdb
(Assuming Raspberry Pi 4)