Upgrading ubuntu to influxdb_1.8.6_amd64.deb

Hi,

I have a AWS EC2 and trying to upgrade to influxdb_1.8.6_amd64.deb but I get the following errors.

wget https://dl.influxdata.com/influxdb/releases/influxdb_1.8.6_amd64.deb
sudo dpkg -i influxdb_1.8.6_amd64.deb
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

Thank you

wget https://dl.influxdata.com/influxdb/releases/influxdb_1.8.6_amd64.deb

sudo dpkg -i 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?

Antony.

I have 1.6.4 already installed.

I just want to upgrade to the latest version

influxd

 8888888           .d888 888                   8888888b.  888888b.
   888            d88P"  888                   888  "Y88b 888  "88b
   888            888    888                   888    888 888  .88P
   888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
   888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
   888   888  888 888    888 888  888   X88K   888    888 888    888
   888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
 8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"

2021-07-15T14:20:54.459835Z     info    InfluxDB starting       {"log_id": "0VMdWNEl000", "version": "1.6.4", "branch": "unknown", "commit": "unknown"}
2021-07-15T14:20:54.460027Z     info    Go runtime      {"log_id": "0VMdWNEl000", "version": "go1.10.4", "maxprocs": 1}
run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use

I would use the repository as documented at

and then (depending on your preference) apt-get upgrade or aptitude upgrade.

Antony.