Closed alexf2015 closed 2 years ago
These apt commands work fine for me in the OH 3.2.0 Debian based amd64/arm64 images. I currently don't have a 32-bit ARM OS running somewhere to test this on.
You are right, on amd64 it works just fine. Unfortunately I do not want to run openhab on my Synology NAS.
These apt commands also work fine on my Raspberry Pi 3B when running a 32-bit Raspberry Pi OS and when using the openhab:3.2.0 linux/arm/v7 image:
This is really weird. The main difference between your and my setup is the OS version on the PI itself. I am still on buster but that should not make any difference I believe. I tried it on two of my Raspberry Pi devices and it is the same on both.
So yes it is related to the host operating system. On buster it does not work, the error above occours. I did a in place upgrade to bullseye (as discribed here https://www.linuxmaker.com/tutorials/upgrade-von-debian-10-buster-zu-debian-11-bulleye.html) and afterwards it works fine. Still, I wonder why the container has a different behaviour dependeing on the host environment. This should not happen and in my opinion the container should also support older OS versions like Debian/Raspbian 10.
If you have the same issues with apt when using the base debian:11
image there is probably not much to fix in the openHAB image and you will have similar issues with any other Debian 11 based image on your Docker host.
Maybe it can be fixed by updating libseccomp2 on your Debian 10 host? See this community thread.
Yes, same issue with debian:11 base image.
Let's close this because it needs to be fixed on your Docker host by either updating libseccomp2 or your OS.
Summary
apt fails with signature error since openhab 3.1.1.
Expected Behavior
In openhab 3.1.0 it was possible to run apt update and apt install to add missing packages. This was necessary as network binding requires "iputils--ping" to work properly. See also https://github.com/openhab/openhab-addons/issues/10675
Current Behavior
apt update already fails with a fatal error:
Possible Solution
Steps to Reproduce
run a fresh instance of openhab 3.2.0 on a raspberry pi. run a bash shell inside the container and execute "apt update"
Context
I need to install iputils-ping to be able to use the network binding.
Your Environment
Raspberry Pi3 with Raspberry Pi OS and Docker installed
Image
Docker Host