I’m using a RaspberryPi with Python and InfluxDB. It worked well with the previous OS of PI. After upgrading to BOOKWORM I installed all Python libraries with “sudo apt install …” Unfortunately when installing influxdb-client I get the following error and don’t know how to solve. I saw similar threads, but none of the solutions worked for me.
sudo apt install influxdb-client
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:
influxdb-client
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/2,034 kB of archives.
After this operation, 6,828 kB of additional disk space will be used.
(Reading database … 159880 files and directories currently installed.)
Preparing to unpack …/influxdb-client_1.6.7~rc0-1+b13_arm64.deb …
Unpacking influxdb-client (1.6.7~rc0-1+b13) …
dpkg: error processing archive /var/cache/apt/archives/influxdb-client_1.6.7~rc0
-1+b13_arm64.deb (–unpack):
trying to overwrite ‘/usr/bin/influx’, which is also in package influxdb 1.8.10
-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/influxdb-client_1.6.7~rc0-1+b13_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)