Having trouble installing from repo

I had to reformat my raspberry pi due to unrelated reasons and am busy setting everything set back up. I took the following steps that I have documented as “worked last time” which was about a year ago:

sudo apt-get install apt-transport-https
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
sudo apt-get update
sudo apt install plexmediaserver

apt-get update returns the following:

Hit:1 https://downloads.plex.tv/repo/deb public InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done

So it looks like the plex repo is there and good to go.
But then when I run sudo apt install plexmediaserver, I get:

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 76.9 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Err:1 https://downloads.plex.tv/repo/deb public/main armhf plexmediaserver armhf 1.22.3.4523-d0ce30438
  404  Not Found [IP: 104.18.157.41 443]
E: Failed to fetch https://downloads.plex.tv/repo/deb/pool/plexmediaserver_1.22.3.4523-d0ce30438_armhf.deb  404  Not Found [IP: 104.18.157.41 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I tried –fix-missing and it didn’t resolve this.
I’ve seen a few threads about this, but they were from a year ago, and I never saw a solution.
Anyone have any ideas?

Please retry that:

sudo apt-get update
sudo apt-get install plexmediaserver

Show all output please. I’m working with the deployment team who manages the repositories

Here’s the output from those two commands. Happy to provide anything else, just let me know!

pi@pi-plex:~ $ sudo apt-get update
Hit:1 https://downloads.plex.tv/repo/deb public InRelease
Ign:2 http://download.webmin.com/download/repository sarge InRelease
Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
Get:4 http://archive.raspberrypi.org/debian buster InRelease [32.7 kB]
Hit:5 http://download.webmin.com/download/repository sarge Release
Get:7 http://archive.raspberrypi.org/debian buster/main armhf Packages [376 kB]
Fetched 408 kB in 3s (155 kB/s)
Reading package lists... Done
pi@pi-plex:~ $ sudo apt-get 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 76.9 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Err:1 https://downloads.plex.tv/repo/deb public/main armhf plexmediaserver armhf 1.22.3.4523-d0ce30438
  404  Not Found [IP: 104.18.156.41 443]
E: Failed to fetch https://downloads.plex.tv/repo/deb/pool/plexmediaserver_1.22.3.4523-d0ce30438_armhf.deb  404  Not Found [IP: 104.18.156.41 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Thank you!

Forwarded to Engineering deployment team

I am getting the same today also.
Note that it seems to be going after an old file, the latest one is;
plexmediaserver_1.23.2.4625-a83d2d0f9_armhf.deb

pi@raspberrypi:~ $ sudo apt-get update --fix-missing
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 https://downloads.plex.tv/repo/deb public InRelease
Ign:4 https://ookla.bintray.com/debian generic InRelease
Get:5 https://ookla.bintray.com/debian generic Release [4,389 B]
Fetched 4,389 B in 1s (3,448 B/s)
Reading package lists... Done

pi@raspberrypi:~ $ sudo apt install plexmediaserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  python-colorzero
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  plexmediaserver
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 76.9 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Err:1 https://downloads.plex.tv/repo/deb public/main armhf plexmediaserver armhf 1.22.3.4523-d0ce30438
  404  Not Found [IP: 2606:4700::6812:9d29 443]
E: Failed to fetch https://downloads.plex.tv/repo/deb/pool/plexmediaserver_1.22.3.4523-d0ce30438_armhf.deb  404  Not Found [IP: 2606:4700::6812:9d29 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Hi, having the same issue.
Wanted to reinstall my plex on a new Raspian and getting the message too.

Disable IPV6 on the host and try again.

Nope, still the same problem:

pi@raspberrypi:~ $ sudo apt install plexmediaserver
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra python-colorzero
Use ‘sudo apt autoremove’ to remove them.
The following NEW packages will be installed:
plexmediaserver
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 76.9 MB of archives.
After this operation, 203 MB of additional disk space will be used.
Err:1 https://downloads.plex.tv/repo/deb public/main armhf plexmediaserver armhf 1.22.3.4523-d0ce30438
404 Not Found [IP: 104.18.12.47 443]
E: Failed to fetch https://downloads.plex.tv/repo/deb/pool/plexmediaserver_1.22.3.4523-d0ce30438_armhf.deb 404 Not Found [IP: 104.18.12.47 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Looks like another round of the repo listings being out of sync, correct link.

https://downloads.plex.tv/plex-media-server-new/1.23.2.4625-a83d2d0f9/debian/plexmediaserver_1.23.2.4625-a83d2d0f9_armhf.deb

1 Like

Thx, that helped.

To all here:

Is this resolved ?

yeah i just tried again much later and it worked fine.
Thanks!

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