Hello everyone,
I was trying to install influxDB + grafana, but had an issue that I couldn’t understand, first of all i used the installation from sudo openhabian-config , InfluxDB is installed but Grafana fails.
I tried to install it on my own using thecommand: sudo apt-get install grafana so I got these lines :
Preparing to unpack …/grafana_5.1.4_armhf.deb …
Unpacking grafana (5.1.4) over (2.6.0+dfsg-3+b1) …
dpkg: error processing archive /var/cache/apt/archives/grafana_5.1.4_armhf.deb ( --unpack):
trying to overwrite ‘/usr/share/grafana/conf/defaults.ini’, which is also in pa ckage grafana-data 2.6.0+dfsg-3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/grafana_5.1.4_armhf.deb
Updating FireMotD available updates count …
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think here there is problem with FireModT, I upgraded it using sudo apt-get install --upgrade FireMotD here i find another issue:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package FireMotD
I would be so grateful if anyone had the same issue and found out how to resolve it And thanks
I tried to install Grafana/Influx using openhabian-config, but some errors appeared, now I always have this apt update, when I try to upgrade it, the following errors appears, and the upgrade doesn’t work:
The following packages will be upgraded:
grafana
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/41.7 MB of archives.
After this operation, 108 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 68430 files and directories currently installed.)
Preparing to unpack .../grafana_7.0.1_armhf.deb ...
Unpacking grafana (7.0.1) over (2.6.0+dfsg-3+b1) ...
dpkg: error processing archive
/var/cache/apt/archives/grafana_7.0.1_armhf.deb (--unpack):
trying to overwrite '/usr/share/grafana/public/test/mocks/dashboard-mock.js', which is also in package grafana-data 2.6.0+dfsg-3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/grafana_7.0.1_armhf.deb
Updating FireMotD available updates count ...
E: Sub-process /usr/bin/dpkg returned an error code (1)