The public key is not available (Linux)

I’m trying to install Plex on a Raspberry Pi.

According to Enable repository updating for supported Linux server distributions | Plex Support I should run:
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list

Then
curl https://downloads.plex.tv/plex-keys/Plexsign.key | sudo apt-key add -

But I get this warning:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.

If I then run sudo apt update, I get this warning:
Err:12 https://downloads.plex.tv/repo/deb public InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 97203C7B3ADCA79D
Reading package lists… Done
W: GPG error: https://downloads.plex.tv/repo/deb public InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 97203C7B3ADCA79D
E: The repository ‘https://downloads.plex.tv/repo/deb public 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.

So if I then run sudo apt install plexmediaserver, I get the error E: Unable to locate package plexmediaserver

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.