ubuntu@ip-xxx-xx-xxx-xxx:~$ sudo dpkg -i influxdb_1.8.6_amd64.deb
(Reading database ... 107045 files and directories currently installed.)
Preparing to unpack influxdb_1.8.6_amd64.deb ...
Unpacking influxdb (1.8.6-1) over (1.6.4-1build1) ...
dpkg: error processing archive influxdb_1.8.6_amd64.deb (--install):
trying to overwrite '/usr/bin/influx', which is also in package influxdb-client 1.6.4-1build1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Synchronizing state of influxdb.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable influxdb
Removed /etc/systemd/system/influxd.service.
Removed /etc/systemd/system/multi-user.target.wants/influxdb.service.
/usr/bin/deb-systemd-helper: error: unable to read influxdb.service
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
influxdb_1.8.6_amd64.deb
Why download and install with dpkg instead of pointing at the repository?
dpkg: error processing archive influxdb_1.8.6_amd64.deb (–install):
trying to overwrite ‘/usr/bin/influx’, which is also in package
influxdb-client 1.6.4-1build1 dpkg-deb
Did you try uninstalling influxdb-client and then installing influxdb?