How to resolve conflicting distributions in apt-get
Solution 1
Edit
/etc/apt/sources.list.d/plexmediaserver.list
And replace
deb https://downloads.plex.tv/repo/deb/ public main
with
deb https://downloads.plex.tv/repo/deb/ ./public main
...that worked for me.
Solution 2
This is because they are redoing the packaging:
public main is correct.
You’re not doing anything wrong.
What you see is because of how the repository is…
As I’ve stated already today, I am working as hard and as fast as I humanly can.
The repository will be completely overhauled by the time we complete the new build system (CI) for all of PMS.
[...]
Run the following code and it will update/upgrade Plex.
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
sudo apt update && sudo apt upgrade -y
Related videos on Youtube
Michael Heuberger
huge passion for programming, vast background knowledge, > 23 yrs of experience, focus on JavaScript, functional code and software as a service (SaaS).
Updated on September 15, 2022Comments
-
Michael Heuberger over 1 year
When doing an apt-get update/upgrade I see that error
W: Conflicting distribution: https://downloads.plex.tv/repo/deb public InRelease (expected public but got )
I was upgrading to Ubuntu Zesty 17.04 before and do not know how to fix the above. Already have seen https://forums.plex.tv/discussion/162337/plex-media-server-ppa-for-ubuntu/p4? but there are no suggested fixes for that.
Maybe one of you can give some hints? Thanks!
-
Shomz almost 7 yearsI'm voting to close this question as off-topic because it should probably go to askubuntu.com because it's not about programming.
-
-
McLan over 5 yearsI don't have this file : plexmediaserver.list !!