AGAIN: Failed to fetch https://downloads.plex.tv/repo/deb/dists/public/Release.gpg

Again troubles like some earlier - Previos discussion

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"

installed plexmediaserver 1.18.2.2058-e67a4e892

deb https://downloads.plex.tv/repo/deb public main
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://downloads.plex.tv/repo/deb public Release: The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.
W: Failed to fetch https://downloads.plex.tv/repo/deb/dists/public/Release.gpg  The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.
W: Some index files failed to download. They have been ignored, or old ones used instead.

MD5 is correct

19930ce0357f723e590210e3101321a3  PlexSign.key

removing and reinstalling keys didn’t helped. Whats wrong?

Yes, I am getting similar error trying to update via rpi 3 cli.

The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.

Checking. I will report back ASAP.

Cannot recreate on Debian 10. Continuing to investigate.

Also on debian 10, having the same problem

root@debian1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
root@debian1:~# apt-key list | grep -B3 -A2 "Plex Inc"
Warning: apt-key output should not be parsed (stdout is not a terminal)

pub   rsa4096 2015-03-22 [SC]
      CD66 5CBA 0E2F 88B7 373F  7CB9 9720 3C7B 3ADC A79D
uid           [ unknown] Plex Inc.
sub   rsa4096 2015-03-22 [E]

root@debian1:~# cat /etc/apt/sources.list.d/plexmediaserver.list 
# When enabling this repo please remember to add the PlexPublic.Key into the apt setup.
# wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -
deb https://downloads.plex.tv/repo/deb public main
root@debian1:~# apt-get update
Hit:1 http://ftp.no.debian.org/debian buster InRelease
Hit:2 http://ftp.no.debian.org/debian buster-backports InRelease                                                                                                       
Hit:3 http://ftp.no.debian.org/debian buster-updates InRelease                                                                                                         
Hit:4 https://artifacts.elastic.co/packages/6.x/apt stable InRelease                                                                                                   
Hit:5 http://security.debian.org buster/updates InRelease                                                                                                              
Hit:6 https://deb.nodesource.com/node_6.x buster InRelease                                                           
Hit:7 https://download.docker.com/linux/debian buster InRelease                                               
Ign:8 https://downloads.plex.tv/repo/deb public InRelease
Get:9 https://downloads.plex.tv/repo/deb public Release [5,815 B]
Get:10 https://downloads.plex.tv/repo/deb public Release.gpg [821 B]
Err:10 https://downloads.plex.tv/repo/deb public Release.gpg
  The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.
Fetched 6,636 B in 2s (3,838 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://downloads.plex.tv/repo/deb public Release: The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.
W: Failed to fetch https://downloads.plex.tv/repo/deb/dists/public/Release.gpg  The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.
W: Some index files failed to download. They have been ignored, or old ones used instead.

As you can see, I can’t recreate it. I just did it again.

What’re the differences here? I have a stock installation in the VM for dev & QA purposes.

Just informing I’m gettting the same issue here. Tried to delete the key, and redo all the steps but the error message persist. Let me know if you need me to test anything.

Plex: Version 1.18.2.2058
Running on Ubuntu 19.04.

For the sake of this debugging, I deleted and recreated Ubuntu 19.04
Below, mistakes included, is my terminal session output.

I cannot reproduce the error on X86_64.

chuck@ubuntu:~$ ls /etc/apt/sources.list.d
chuck@ubuntu:~$ sudo sh
# echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
deb https://downloads.plex.tv/repo/deb public main
# cat /etc/apt/sources.list.d/plexmediaserver*
deb https://downloads.plex.tv/repo/deb public main
# curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
sh: 3: curl: not found
gpg: no valid OpenPGP data found.
# apt install curl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  curl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/166 kB of archives.
After this operation, 411 kB of additional disk space will be used.
Selecting previously unselected package curl.
(Reading database ... 172082 files and directories currently installed.)
Preparing to unpack .../curl_7.64.0-2ubuntu1.2_amd64.deb ...
Unpacking curl (7.64.0-2ubuntu1.2) ...
Setting up curl (7.64.0-2ubuntu1.2) ...
Processing triggers for man-db (2.8.5-2) ...
# curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3072  100  3072    0     0   7680      0 --:--:-- --:--:-- --:--:--  7680
OK
# apt install plexmediaserver
Reading package lists... Done
Building dependency tree       
Reading state information... Done

No apt package "plexmediaserver", but there is a snap with that name.
Try "snap install plexmediaserver"

E: Unable to locate package plexmediaserver
# apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu disco InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu disco-updates InRelease [97.5 kB]
Get:3 http://security.ubuntu.com/ubuntu disco-security InRelease [97.5 kB]     
Ign:4 https://downloads.plex.tv/repo/deb public InRelease                      
Get:5 https://downloads.plex.tv/repo/deb public Release [5,815 B]              
Get:6 http://us.archive.ubuntu.com/ubuntu disco-backports InRelease [88.8 kB]  
Get:7 https://downloads.plex.tv/repo/deb public Release.gpg [821 B]            
Get:8 https://downloads.plex.tv/repo/deb public/main amd64 Packages [532 B]    
Fetched 291 kB in 1s (347 kB/s) 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
# apt install plexmediaserver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  plexmediaserver
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 87.2 MB of archives.
After this operation, 283 MB of additional disk space will be used.
Get:1 https://downloads.plex.tv/repo/deb public/main amd64 plexmediaserver amd64 1.18.3.2156-349e9837e [87.2 MB]
Fetched 87.2 MB in 24s (3,597 kB/s)                                            
Selecting previously unselected package plexmediaserver.
(Reading database ... 172089 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.18.3.2156-349e9837e_amd64.deb ...
Unpacking plexmediaserver (1.18.3.2156-349e9837e) ...
Setting up plexmediaserver (1.18.3.2156-349e9837e) ...

Configuration file '/etc/apt/sources.list.d/plexmediaserver.list'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** plexmediaserver.list (Y/I/N/O/D/Z) [default=N] ? 
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for libc-bin (2.29-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...
# 

I do get Unknown in the uid section here, and I see from another similar issue that you’ve said that it is not supposed to be Unknown? I’ve tried to delete the key and re-add it, but the result is the same.

pub   rsa4096 2015-03-22 [SC]
      CD66 5CBA 0E2F 88B7 373F  7CB9 9720 3C7B 3ADC A79D
uid           [ unknown] Plex Inc.
sub   rsa4096 2015-03-22 [E]

If there is an update which is looking for something not provided then I will make it a priority to get it added.

We just need to identify it.

I also see “Unknown” however it did not impede installation

# apt-key list
/etc/apt/trusted.gpg
--------------------
pub   rsa4096 2015-03-22 [SC]
      CD66 5CBA 0E2F 88B7 373F  7CB9 9720 3C7B 3ADC A79D
uid           [ unknown] Plex Inc.
sub   rsa4096 2015-03-22 [E]

I’m in no rush, so for all i know this will sort itself out. :slight_smile: Let me know if you need more input. Last resort for me is to just reinstall and see if that solves the issue.

I’ve forwarded to the build team (which I work with part time).
I’m asking their input as they are the custodians of the certificates.

1 Like

Right now started update & upgrade on my server.
WTF??? Without problem - got latest updates.

Very strange …
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: plexmediaserver 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 87.2 MB of archives. After this operation, 22.5 kB disk space will be freed. Do you want to continue? [Y/n] Y Get:1 https://downloads.plex.tv/repo/deb public/main amd64 plexmediaserver amd64 1.18.3.2156-349e9837e [87.2 MB] Fetched 87.2 MB in 2s (37.2 MB/s) (Reading database ... 145969 files and directories currently installed.) Preparing to unpack .../plexmediaserver_1.18.3.2156-349e9837e_amd64.deb ... Removed symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service. Unpacking plexmediaserver (1.18.3.2156-349e9837e) over (1.18.2.2058-e67a4e892) ... Processing triggers for libc-bin (2.23-0ubuntu11) ... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for ureadahead (0.100.0-19.1) ... ureadahead will be reprofiled on next reboot Setting up plexmediaserver (1.18.3.2156-349e9837e) ... Created symlink from /etc/systemd/system/multi-user.target.wants/plexmediaserver.service to /lib/systemd/system/plexmediaserver.service. Processing triggers for libc-bin (2.23-0ubuntu11) ...

Was this a SNAFU or a PEBKAC? :wink:

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian

It’s working now for me.

We did not change anything.

Did anyone get updates or reboot since last update?

Same issue from my side on Debian 9

Err:14 https://downloads.plex.tv/repo/deb public Release.gpg
  The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.
Fetched 6,636 B in 0s (7,690 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://downloads.plex.tv/repo/deb public Release: The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.
W: Failed to fetch https://downloads.plex.tv/repo/deb/dists/public/Release.gpg  The following signatures were invalid: BADSIG 97203C7B3ADCA79D Plex Inc.
W: Some index files failed to download. They have been ignored, or old ones used instead.

Retry.

I’m suspecting there might be a corrupt file out on one of the cloud systems.

It would help to know which basic georegion folks are. NA - East/West, EU - West, Central, East, etc

Ukraine, East Europe

Looks fixed, thanks a lot