Openhabian Upgrade from OH2 to OH3 failed

Dear all,

Upgrade of OpenHAB2 (openhabian) to OpenHAB3 by openhabian-config does not work on my Raspberry Pi 4 Model B 4GB.
The issue seems to be a missing key. But how do I solve this?

Blockquote $ apt-get update
Hit:1 http://giteduberger.fr rpimonitor/ InRelease
Hit:2 Index of /raspbian buster InRelease
Get:3 http://davesteele.github.io/comitup/repo comitup InRelease [4659 B]
Hit:4 Index of /debian buster InRelease
Hit:5 Index of /node_12.x/ buster InRelease
Ign:6 https://apt.homegear.eu/Raspbian buster/ InRelease
Err:7 https://apt.homegear.eu/Raspbian buster/ Release
404 Not Found [IP: 5.9.243.49 443]
Hit:8 JFrog stable InRelease
Err:3 http://davesteele.github.io/comitup/repo comitup InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXXX
Reading package lists… Done
E: The repository ‘https://apt.homegear.eu/Raspbian buster/ Release’ no longer has a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://davesteele.github.io/comitup/repo comitup InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXX
return 100
echo ‘FAILED (update apt lists)’
FAILED (update apt lists)
return 1
echo ‘FAILED (install openHAB)’
FAILED (install openHAB)
cond_redirect systemctl start zram-config.service
[[ -n ‘’ ]]
echo -e ‘\n\033[90;01m$ systemctl start zram-config.service \033[39;49;00m’
$ systemctl start zram-config.service
Failed to start zram-config.service: Unit zram-config.service not found.
return 5
return 1
‘[’ 1 -ne 0 ‘]’
whiptail --msgbox ‘There was an error or interruption during the execution of:\n “03 | Install openHAB”\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or openhabian/openhabian-DEBUG.md at main · openhab/openhabian · GitHub how to proceed.’

I think the steps described in Installing Comitup · davesteele/comitup Wiki · GitHub :

wget https://davesteele.github.io/comitup/latest/davesteele-comitup-apt-source_latest.deb
dpkg -i --force-all davesteele-comitup-apt-source_latest.deb
rm davesteele-comitup-apt-source_latest.deb

should do it.

With regard to

I would assume that Raspbian needs to be spelled in lower letters.

Thanks Wolfgang!
I don’t need comitup and I am not aware to have installed it.
Or what does „Get“ mean instead of „Hit“?
Is there a way to delete/exclude it from the update list?

In directory /etc/apt/sources.list.d you find a list of files.
One is most probably called comitup.list.
If you do not need that repository you can delete the file or rename it ( add an other file extension ).
Doing so should ignore it at next run of apt update.

That solves the problem of apt-get update. :+1:
I will try the OH3 upgrade once again tomorrow.
For homegear I found this solution:

I would assume OP uses an ancient version of openHABian, he failed to tell.
If you run homegear setup again it should deploy the correct repo.