How to update Plex Media Server using apt-get



I have tried to update my Plex Media Server following instructions given on that page:
I have unfortunately not been able to do so.
When I ran sudo apt-get update, I got the following error messages :

Err:9 ./public Release
404 Not Found [IP: 2400:cb00:2048:1::6812:9c29 443]
Reading package lists... Done

E: The repository ' ./public Release' does not have a Release file.
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.

Can anyone help me ?
Thank you in advance.



Thank you for your answer.
I do not understand what it means. Which file should I edit and how should I change it ?

By the way, I have tried to run sudo apt-get update again and got no error message, this time. However, the Plex Media Server was not updated.

Thank you for your help.


Edit /etc/apt/sources.list.d/plexmediaserver.list and replace ./public with just public so that the end result is deb public main

The official doc has also just been corrected :slight_smile:


Thank you for your answer.
I did the change that you suggested.
Now, I get this warning message :

Hit:7 public InRelease
Hit:8 bionic-security InRelease
Reading package lists… Done
W: Conflicting distribution: public InRelease (expected public but got )

Is this important, or can I just ignore it ?


Just ignore it. It will disappear as soon as a server side fix has been deployed.


Thank you. It works now.

By the way, I also realized that, after running sudo apt-get update, I also had to run sudo apt-get upgrade.
As you see, I am a newbie :slight_smile:

Thank you again.


its totally broke no along with lots of other parts in their website, eg the link in the above pose

root@plex:~# curl ; echo
    <title>Plex Redirect</title>
      <META http-equiv="refresh" content="5;URL=">
  <body bgcolor="#323232" link="yellow" vlink="yellow">
    <center><font size="5" color="white">The page you're looking for was not found.<br>
      You will be redirected automatically in 5 seconds.<p>
      <a href=""></a></font>


Please do not cross post. And no, it’s not. curl != apt. apt will just work :wink:


No it wont, the curl was an example of what is wrong

W: Conflicting distribution: public InRelease (expected public but got )


That’s a warning. The repo does work (with this warning).