Need help with installing influxDB Ubuntu


I am attempting to install influxDB on ubuntu, but i am a NOOB when it comes to both of these platforms.

I attempted to follow the instructions…

Unfortunately i get a pile bunch of errors:

XXX@Ubuntu-VM:~$ sudo apt-get update && sudo apt-get install influxdb
Hit:1 link removed bionic InRelease
Hit:2 link removed bionic InRelease
Get:3 link removed bionic-updates InRelease [88.7 kB]
Get:4 link removed bionic-backports InRelease [74.6 kB]
Get:5 link removed bionic-security InRelease [83.2 kB]
Fetched 247 kB in 1s (229 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/24.9 MB of archives.
After this operation, 81.0 MB of additional disk space will be used.
(Reading database … 149977 files and directories currently installed.)
Preparing to unpack …/influxdb_1.6.3-1_amd64.deb …
Unpacking influxdb (1.6.3-1) …
dpkg: error processing archive /var/cache/apt/archives/influxdb_1.6.3-1_amd64.deb (–unpack):
** 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)
influxdb.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable influxdb
Errors were encountered while processing:
** /var/cache/apt/archives/influxdb_1.6.3-1_amd64.deb**
E: Sub-process /usr/bin/dpkg returned an error code (1)

i have tried a few times to get this to work… but i am at a loss. Can anyone help me get started in the right direction?

edit, i had to remove the links since this is my first post…


I think this error is signaling that you have conflicting packages in the system. You can try to write over the package or remove the package and re-install it. Check out this post on Ubuntu for some instructions for overriding and removing the package.