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):
dpkg: error processing archive /var/cache/apt/archives/influxdb-client_1.0.2+dfsg1-1_armhf.deb (–unpack):
trying to overwrite ‘/usr/bin/influx’, which is also in package influxdb 1.7.9-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Unfortunately, removing installdb-client also wiped out my scripts as well.