MDAR
(Stuart Hanlon, UK importer of Velbus hardware)
1
I’m trying to setup a fresh machine, as I have issues with the VNC connection to QLCplus, so I am starting from a vanilla system to see where the trouble starts.
However… It’s not as simple as I had expected.
It would seem that the method of getting the repository key for openHAB has changed.
Get:7 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease [12.8 kB]
Err:7 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 075721F6A224060A
Reading package lists... Done
W: GPG error: https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 075721F6A224060A
E: The repository 'https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease' 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.
The openhab.gpg file didn’t get created or became corrupted or something like that. Make sure that there is a /usr/share/keyrings/openhab.gpg file.
You’re running an older version of apt which doesn’t support using gpg keys like this. I don’t know when having separate keys for individual repos was added to apt. It’s only recently that it’s become the “best practice”.
Get:10 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease [12.8 kB]
Err:10 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 075721F6A224060A
Hit:11 https://download.sublimetext.com apt/stable/ InRelease
Reading package lists... Done
W: GPG error: https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 075721F6A224060A
E: The repository 'https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease' 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.
I just saw a PR go past sometime yesterday. There was a typo in the instructions. The echo "deb... command is using the wrong extension for the key. It should be pgp, not gpg.
Thanks for this! I am curious though should it be gpg or pgp? I notice all the other keys I have in that fold are *.gpg. Not that is will stop it from working either way. It just stands out to me.
Someone else filed an PR for the docs and I filed PR for the main web site and both were merged. I didn’t double check the PR for the docs page. I can confirm that it’s right on the downloads page but yes, it does appear to still be wrong in the docs. I’m not sure what could have gone wrong though.