I have a Raspberry Pi running stretch, and just tried to upgrade influxdb and influxdb-client. I get the following errors, even when I remove everything and try to reinstall (in either order):
If you download the package from our downloads page, or using the InfluxData repository, it will install both the database influxd and the CLI influx, as well as some other tools. There is no need to install another package.
Based on the error you shared, it looks like you first installed InfluxDB 1.7.9, and then were attempting to install influxdb-client_1.0.2, which looks like an old version of the client that is part of the Debian package repositories.
The error is telling you that dpkg cannot overwrite the influx binary that was included with the 1.7.9 package with the influx binary included in the older client package. You do not need the older client.
Hi
I have the same problem but stil no solution.
My error
Bezig met uitpakken van influxdb (1.8.0-1) over (1.6.4-1) …
dpkg: fout bij verwerken van archief /var/cache/apt/archives/influxdb_1.8.0-1_armhf.deb (–unpack):
poging tot overschrijven van ‘/usr/bin/influx’, wat ook in pakket influxdb-client 1.6.4-1 zit
dpkg-deb: fout: subproces plakken werd gedood door signaal (Gebroken pijp)
Fouten gevonden tijdens verwerken van:
/var/cache/apt/archives/influxdb_1.8.0-1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberry:~ $