Our public key for the APT repos (snapshot/milestones/releases) expires today. We have just extended its validity until 2023 (thanks @theo!), but you will have to make sure that your Linux installation is aware of the new key, otherwise your will have problems when updating openHAB through apt. All you need to do execute:
I can confirm chubberâs experience. The key did not update when I upgraded through openhabian-config. I had to update the key manually. I figured I had something non-standard in my config because I was having other apt issues at the same time.
For openHABian to update the key youâd need to select option 3 (for stable) or 40 (for the latest testing/snapshot). Itâs probably easier to put in the command at the first post though and Iâll see if itâs worth putting the function in the general upgrade option.
Thank you, My 2.5.0-M1-1 wasnât updating either after âThe following signatures were invalid: EXPKEYSIGâŠâ messages.
Did the command manually - all good now.
Iâm trying to do a fresh OpenHabian installation (openhabian-pi-raspbian-201908050414-gitca0976f-crc6a66b5a1.img.xz) and itâs failing.
2019-08-09_18:55:54_CDT [openHABian] Installing or upgrading to latest openHAB release (stable)... FAILED (apt)
2019-08-09_18:56:10_CDT [openHABian] Initial setup exiting with an error!
I tried running apt and Iâm seeing the key error:
[19:18:52] root@openhab:/etc/apt# wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add -
OK
[19:23:34] root@openhab:/etc/apt# apt update
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
Get:4 https://dl.bintray.com/openhab/apt-repo2 stable Release [6,051 B]
Ign:5 https://dl.bintray.com/openhab/apt-repo2 stable Release.gpg
Reading package lists... Done
E: The repository 'https://dl.bintray.com/openhab/apt-repo2 stable Release' is not signed.
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.
Is there something else going on with the repo tonight?
Is there something else going on with the repo tonight?
Unfortuantely there is⊠at the moment, Bintray canât sign the repository, which is why you get this error. Hopefully this will be fixed when the right person can get to the problem, but if not I will get a workaround to you as soon as I can.
Decide to install OpenHab today, but it seems thereâs a problem with the repository. The boot script fails when trying to install openhab2⊠doind it through the configuration tool also fails:
$ apt-get -y install openhab2
Reading package lists⊠Done
Building dependency tree
Reading state information⊠Done
E: Unable to locate package openhab2
FAILED (apt)