How to resolve conflicting distributions in apt-get

12,227

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

https://forums.plex.tv/t/w-conflicting-distribution-https-downloads-plex-tv-repo-deb-public-inrelease-expected-public/194055/16

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
Share:
12,227

Related videos on Youtube

Michael Heuberger
Author by

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, 2022

Comments

  • Michael Heuberger
    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
      Shomz almost 7 years
      I'm voting to close this question as off-topic because it should probably go to askubuntu.com because it's not about programming.
  • McLan
    McLan over 5 years
    I don't have this file : plexmediaserver.list !!