openHABian update to 2.5.7 fails

Hi,

I am running my openHAB 2.5.6 on a Raspberry Pi 3 Model B Plus Rev 1.3 (Raspbian GNU/Linux 10 (buster), Kernel = Linux 4.19.118-v7+). After I saw that there is now 2.5.7 available, I tried to update using the openhabian-config CLI tool.

After this operation, 127 MB of additional disk space will be used.
apt-listchanges: Reading changelogs...
(Reading database ... 70351 files and directories currently installed.)
Preparing to unpack .../grafana_7.1.0_armhf.deb ...
Unpacking grafana (7.1.0) over (2.6.0+dfsg-3+b1) ...
dpkg: error processing archive /var/cache/apt/archives/grafana_7.1.0_armhf.deb (--unpack):
 trying to overwrite '/usr/share/grafana/public/vendor/angular-other/angular-strap.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.1.0_armhf.deb
Updating FireMotD available updates count ... 2020-07-23 19:16:12,587: FireMotD: Info: Action "save"

E: Sub-process /usr/bin/dpkg returned an error code (1)

Then a prompt shows up telling me the “02 | Upgrade” failed.

I would try to remove Grafana, but I am not sure about the best way to remove it.

Those look like Grafana upgrade errors, not openHAB. A Grafana forum may have more information.

do

sudo apt-get purge grafana-data

to deinstall grafana-data

1 Like

This leads to the same error:

dpkg: error processing archive /var/cache/apt/archives/grafana_7.1.0_armhf.deb (--unpack):
 trying to overwrite '/usr/share/grafana/public/vendor/angular-other/angular-strap.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.1.0_armhf.deb
Updating FireMotD available updates count ... 2020-07-23 21:35:28,805: FireMotD: Info: Action "save"

E: Sub-process /usr/bin/dpkg returned an error code (1)

After removing grafana first it worked.

what does that mean ?