Update to OH3 failed : error with gpg key (openhabian)

Hello all,

I have an error when migrating from 2.5 to 3. I am running with openhabian on a raspberry

[18:17:20] openhabian@openhab:~$ sudo openhabian-config
2023-01-21_18:17:33_CET [openHABian] Checking for root privileges... OK
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Ign:3 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Err:4 https://dl.bintray.com/openhab/apt-repo2 stable Release
  404  Not Found [IP: 443]
Reading package lists... Done
E: The repository 'https://dl.bintray.com/openhab/apt-repo2 stable 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.
2023-01-21_18:17:44_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2023-01-21_18:17:44_CET [openHABian] openHABian configuration tool version: [master]v1.5-541(5158a5f)
2023-01-21_18:17:44_CET [openHABian] Checking for changes in origin... OK

$ apt-get -y install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (
The following packages were automatically installed and are no longer required:
  rpi.gpio-common triggerhappy
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 205 not upgraded.
2023-01-21_18:17:58_CET [openHABian] Installing or upgrading to latest openHAB release (stable)...
$ wget -O openhab-key.asc https://bintray.com/user/downloadSubjectPublicKey?username=openhab
--2023-01-21 18:18:00--  https://bintray.com/user/downloadSubjectPublicKey?username=openhab
Resolving bintray.com (bintray.com)...,,
Connecting to bintray.com (bintray.com)||:443... connected.
HTTP request sent, awaiting response... 410 Gone
2023-01-21 18:18:01 ERROR 410: Gone.

$ apt-key add openhab-key.asc
gpg: no valid OpenPGP data found.
FAILED (key)

I must admit I am not familiar with this kind of stuff, any help there ?

Thanks :slight_smile:


Have a look at Download openHAB | openHAB → Raspberry Pi → Option 2.