Configuring Ubiquiti Controller help with error

Hello,

I’m trying to reset my local network to use my PureOS Librem computer and am running into this error:

Get:1 https://dl.ubnt.com/unifi/debian stable InRelease [3,024 B]
Err:1 [same link as above, edited due to link limit] stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 06E85760C0A52C50

W: GPG error: https://dl.ubnt.com/unifi/debian stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 06E85760C0A52C50
E: The repository ‘https[colon, backslash, backslash] www [dot] ui [dot] com/downloads/unifi/debian 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 see it has to do with using apt-secure, and i’m fairly new to Linux. Can someone point me in the right direction here?

Thank you in advance!

Try the following

gpg --keyserver keyserver.ubuntu.com --recv-keys 06E85760C0A52C50
gpg -a --output ubnt.txt --export 06E85760C0A52C50
sudo apt-key add ubnt.txt
rm ubnt.txt

That said, I don’t see why you would want to reset any network equipment in order to use your Librem.

I guess he wants to install UniFi Controller software in his Librem, if this software was installed in another computer before, you need to reset your Ubiquiti devices. I would like to control my network from a Librem too.

PS: Kevin welcome into this forum!