"Failed to execute operation: Invalid argument" updating on Linux

Hi all,

Every time apt tries to update InfluxDB on my Raspberry Pi (running Rasbian Jessie), I get the following errors:

Setting up influxdb (1.7.9-1) ...
Failed to execute operation: Invalid argument
dpkg: error processing package influxdb (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I would very much like to know how to get out of this issue - can anyone help?