Cannot install influxdb 1.8.9

Up to a week ago I was using Influxdb but I started getting an error:
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
Please check your connection settings and ensure ‘influxd’ is running.

AS I could not fix it (after reviewing some solution) I decided to reinstall Influxdb.
I am using these commands:

sudo dpkg -i influxdb_1.8.9_amd64.deb

This is what I am getting:
sudo dpkg -i influxdb_1.8.9_amd64.deb
(Reading database … 129863 files and directories currently installed.)
Preparing to unpack influxdb_1.8.9_amd64.deb …
Unpacking influxdb (1.8.9-1) …
dpkg: error processing archive influxdb_1.8.9_amd64.deb (–install):
trying to overwrite ‘/usr/bin/influx’, which is also in package influxdb-client 1.1.1+dfsg1-4
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Failed to disable unit: Unit file influxdb.service does not exist.
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Errors were encountered while processing:

Ubuntu 18.04
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit

Can anyone please help?