Closed mstormi closed 2 years ago
Are you using a recent image or an old one? Also is it because of the repo change?
1.7.1 Build #784 clonebranch=stable (obviously) or what do you mean by "repo change" ?
So where is openhab2.list from ?
[18:40:23] root@openhabian:/var/lib/openhab2# apt-get update
E: Conflicting values set for option Signed-By regarding source https://openhab.jfrog.io/artifactory/openhab-linuxpkg/ stable: /usr/share/keyrings/openhab.gpg !=
E: The list of sources could not be read.
[18:40:27] root@openhabian:/var/lib/openhab2# cd /etc/apt/sources.list.d/
[18:40:35] root@openhabian:/etc/apt/sources.list.d# ls
comitup.list nodesource.list openhab2.list openhab.list raspi.list vscode.list
[18:40:35] root@openhabian:/etc/apt/sources.list.d# ls -l op*
-rw-r--r-- 1 root root 70 Dec 2 17:37 openhab2.list
-rw-r--r-- 1 root root 114 Dec 1 18:34 openhab.list
[18:40:43] root@openhabian:/etc/apt/sources.list.d# cat openhab2.list
deb https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main
[18:40:47] root@openhabian:/etc/apt/sources.list.d# cat openhab.list
deb [signed-by=/usr/share/keyrings/openhab.gpg] https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main
[18:40:51] root@openhabian:/etc/apt/sources.list.d# mv openhab2.list /var/tmp
[18:41:00] root@openhabian:/etc/apt/sources.list.d# !ap
apt-get update
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 http://davesteele.github.io/comitup/repo comitup InRelease
Get:4 https://deb.nodesource.com/node_12.x bullseye InRelease [4,586 B]
Hit:5 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
Get:6 https://deb.nodesource.com/node_12.x bullseye/main armhf Packages [777 B]
Fetched 5,363 B in 4s (1,473 B/s)
Reading package lists... Done
[18:41:17] root@openhabian:/etc/apt/sources.list.d#
Furthermore, does it matter, we don't support new OH2 installs do we?
Furthermore, does it matter, we don't support new OH2 installs do we?
yeah but if fixing is as easy as that I would
I also noticed
sed: can't read /opt/openhabian/includes/webserver/install-complete.html: No such file or directory
Trouble is that the first-boot.bash code executed for clonebranch=stable is part of the image hence contains what main
(not stable
) contained at the time of build (it doesn't get overwritten by stable repo contents before it is executed).
Ethan you once introduced includes/* subdirectories (like "webserver") to main/openHAB3 in commit 288de33d8f9c92967206c576ef20a74709b83d1f (tag: v1.6.5)
Could you replay that commit against stable ?
Not sure, I made that change a while back it may be difficult to apply now.
did you have a look and tried?
Sorry I completely forgot about this. I'll try to get to it next week and report back
Should be fixed now, I didn't move all the directories but I moved the web server ones as they should be the only ones affected
test install went fine, web server was available during install
first-boot.log of my reproduction: first-boot.log
Installer stops on samba but already fails for openhab2 packages. Probably related to the repo in use. @BClark09 is openhab2.list from your package ?