[SOLVED] Unable to update all packages in openhabian-config

  • Platform information:
    • Odroid C2
    • Ubuntu (something) openhabian

Got some strange issue with my second installation… A few weeks ago I noticed it had updated to 2.5M3, (i dont recall I did this update)… Anyway, the system has been running strange, with rest doc error, (known bug atm) and several startup issues…
Today I thought, what the heck, I´ll give openhabian-config a try and update all packages to latest to see if it would do any good

It didn´t turned out well, but my concern is not where it stopped, but rather howcome it stopped there… (invalid hostname).

This is the process: (Notice at the bottom).

2019-10-17_22:12:04_CEST [openHABian] Updating repositories and upgrading installed packages...
$ wget -O openhab-key.asc https://bintray.com/user/downloadSubjectPublicKey?username=openhab
--2019-10-17 22:12:04--  https://bintray.com/user/downloadSubjectPublicKey?username=openhab
Resolving bintray.com (bintray.com)... 75.126.118.184
Connecting to bintray.com (bintray.com)|75.126.118.184|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘openhab-key.asc’

openhab-key.asc                                   [ <=>                                                                                           ]   3.14K  --.-KB/s    in 0s

2019-10-17 22:12:04 (10.2 MB/s) - ‘openhab-key.asc’ saved [3219]


$ apt-key add openhab-key.asc
OK

$ apt-get --yes upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  aspell libaspell15 libsdl1.2debian libtiff5
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 597 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 aspell arm64 0.60.7~20110707-3ubuntu0.1 [67.4 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 libaspell15 arm64 0.60.7~20110707-3ubuntu0.1 [264 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 libsdl1.2debian arm64 1.2.15+dfsg1-3ubuntu0.1 [139 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 libtiff5 arm64 4.0.6-1ubuntu0.7 [127 kB]
Fetched 597 kB in 0s (2,791 kB/s)
(Reading database ... 119554 files and directories currently installed.)
Preparing to unpack .../aspell_0.60.7~20110707-3ubuntu0.1_arm64.deb ...
Unpacking aspell (0.60.7~20110707-3ubuntu0.1) over (0.60.7~20110707-3build1) ...
Preparing to unpack .../libaspell15_0.60.7~20110707-3ubuntu0.1_arm64.deb ...
Unpacking libaspell15:arm64 (0.60.7~20110707-3ubuntu0.1) over (0.60.7~20110707-3build1) ...
Preparing to unpack .../libsdl1.2debian_1.2.15+dfsg1-3ubuntu0.1_arm64.deb ...
Unpacking libsdl1.2debian:arm64 (1.2.15+dfsg1-3ubuntu0.1) over (1.2.15+dfsg1-3) ...
Preparing to unpack .../libtiff5_4.0.6-1ubuntu0.7_arm64.deb ...
Unpacking libtiff5:arm64 (4.0.6-1ubuntu0.7) over (4.0.6-1ubuntu0.6) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libaspell15:arm64 (0.60.7~20110707-3ubuntu0.1) ...
Setting up aspell (0.60.7~20110707-3ubuntu0.1) ...
Setting up libsdl1.2debian:arm64 (1.2.15+dfsg1-3ubuntu0.1) ...
Setting up libtiff5:arm64 (4.0.6-1ubuntu0.7) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for dictionaries-common (1.26.3) ...

$ java_install_or_update
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (Zulu8.40.0.178-CA-linux_aarch32hf) (build 1.8.0_222-b178)
OpenJDK Client VM (Zulu8.40.0.178-CA-linux_aarch32hf) (build 25.222-b178, mixed mode, Evaluation)

$ systemctl stop openhab2.service
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (Zulu8.40.0.178-CA-linux_aarch32hf) (build 1.8.0_222-b178)
OpenJDK Client VM (Zulu8.40.0.178-CA-linux_aarch32hf) (build 25.222-b178, mixed mode, Evaluation)
2019-10-17_22:12:59_CEST [openHABian] Installing Java Zulu 32-Bit OpenJDK...
$ apt-get update
Ign:1 http://repos.azulsystems.com/ubuntu stable InRelease
Hit:2 http://repos.azulsystems.com/ubuntu stable Release
Hit:3 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Hit:4 http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease
Hit:7 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
Hit:8 http://ports.ubuntu.com/ubuntu-ports xenial-proposed InRelease
Hit:9 https://repos.influxdata.com/ubuntu xenial InRelease
Hit:10 https://deb.nodesource.com/node_10.x xenial InRelease
Hit:12 http://deb.odroid.in/c2 xenial InRelease
Ign:13 https://openhab.jfrog.io/openhab/openhab-linuxpkg testing InRelease
Hit:14 https://openhab.jfrog.io/openhab/openhab-linuxpkg testing Release
Reading package lists... Done

$ apt -y install libc6:armhf libncurses5:armhf libstdc++6:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5:armhf is already the newest version (6.0+20160213-1ubuntu1).
libc6:armhf is already the newest version (2.23-0ubuntu11).
libstdc++6:armhf is already the newest version (5.4.0-6ubuntu1~16.04.11).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ wget -nv -O /tmp/openhabian.CB2OQ/zulu8.tar.gz
http://: Invalid host name.

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
FAILED
root@OpenHab2-C2:~#

Is this installation totally fu*** or is there a issue in openhabian-config?

Just look here. Same problem.

As I understand, a solution seems to be in progress.

1 Like