Concerning the Pine64 implementation.
I have tried to update the system using sudo openhabian-config. It fails on apt with unresolved dependencies(?).
I tried the advised apt-get -f install to no avail.
Then I resorted to re flashing the SD card. Since I have backups and I know how to use them…
This also fails with Updating repositories and upgrading installed packages... FAILED
So I am lost. Anyone willing to guide me? For starters… Is the Pine image still functional?
Thanks Vincent. Do have suggested path for me to follow? I followed the steps in the config tool which lead to unresolved dependencies and then the steps in the documentation which also fails.
The only thing I have is a backup, running OH2.3.1 and is not updating anymore. I’d like to progress some day.
I really appreciate your help but I will not do a full install myself. I have enough experience with linux to know that will lead me into days of fixing problems. This is not very 2019…
Please help a little more with getting my Pine up to date.
I have restored the Pine to the working version of september 2017 (my backup). I have fixed package repository location for grafana which has apparently changed.
But apt-get upgrade keeps failing on the Grafana package:
> sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
fonts-font-awesome golang-1.6-go golang-1.6-src golang-go golang-src grafana-data javascript-common libjs-angularjs libjs-jquery
libjs-jquery-metadata libjs-jquery-tablesorter libjs-twitter-bootstrap pkg-config
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
grafana
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
28 not fully installed or removed.
Need to get 0 B/27.6 MB of archives.
After this operation, 75.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
fatal: bad object HEAD
(Reading database ... 43017 files and directories currently installed.)
Preparing to unpack .../grafana_5.4.3_arm64.deb ...
Unpacking grafana (5.4.3) over (2.6.0+dfsg-1) ...
dpkg: error processing archive /var/cache/apt/archives/grafana_5.4.3_arm64.deb (--unpack):
trying to overwrite '/usr/share/grafana/conf/defaults.ini', which is also in package grafana-data 2.6.0+dfsg-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/grafana_5.4.3_arm64.deb
fatal: bad object HEAD
Updating FireMotD available updates count ...
E: Sub-process /usr/bin/dpkg returned an error code (1)