Hello
Same difficulties to make update working with Debian
The tip saying using ./public is false information as it gives this error
E: The repository 'https://downloads.plex.tv/repo/deb ./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.
That means the plex repository are not well construct
The only way is to use what is in the deb package itself
# 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
So it works whith only a remaining warning (display in french)
W: Distribution en conflit : https://downloads.plex.tv/repo/deb public InRelease (public attendu, mais obtenu)
Here is the sequence
root@debian:/etc/apt/sources.list.d# apt update
Atteint:1 http://ftp2.fr.debian.org/debian buster InRelease
Atteint:2 http://archive.canonical.com xenial InRelease
Atteint:3 http://ftp.debian.org/debian experimental InRelease
Atteint:4 http://ppa.launchpad.net/tsbarnes/indicator-keylock/ubuntu xenial InRelease
Atteint:5 http://security.debian.org/debian-security jessie/updates InRelease
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease
Atteint:7 http://ftp2.fr.debian.org/debian buster-updates InRelease
Atteint:8 http://security.debian.org/debian-security stretch/updates InRelease
Atteint:9 http://dl.google.com/linux/chrome/deb stable Release
Atteint:10 http://security.debian.org/debian-security buster/updates InRelease
Ign:11 http://ftp2.fr.debian.org/debian stretch InRelease
Atteint:12 http://repository.spotify.com stable InRelease
Atteint:13 https://downloads.plex.tv/repo/deb public InRelease
Atteint:14 http://dl.winehq.org/wine-builds/debian buster InRelease
Atteint:15 http://ftp2.fr.debian.org/debian stretch-updates InRelease
Ign:16 http://ftp2.fr.debian.org/debian jessie InRelease
Atteint:17 http://ftp2.fr.debian.org/debian stretch Release
Atteint:18 http://ftp2.fr.debian.org/debian jessie Release
Réception de:20 https://downloads.plex.tv/repo/deb public/main i386 Packages [2 902 B]
2 902 o réceptionnés en 3s (778 o/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
All packages are up to date.
W: Distribution en conflit : https://downloads.plex.tv/repo/deb public InRelease (public attendu, mais obtenu)
root@debian:/etc/apt/sources.list.d# apt install --reinstall plexmediaserver
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 108 Mo dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Réception de:1 https://downloads.plex.tv/repo/deb public/main amd64 plexmediaserver amd64 1.9.2.4285-9f65b88ae [108 MB]
108 Mo réceptionnés en 2min 18s (776 ko/s)
(Lecture de la base de données... 197046 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../plexmediaserver_1.9.2.4285-9f65b88ae_amd64.deb ...
Removed /etc/systemd/system/multi-user.target.wants/plexmediaserver.service.
Dépaquetage de plexmediaserver (1.9.2.4285-9f65b88ae) sur (1.9.2.4285-9f65b88ae) ...
Traitement des actions différées (« triggers ») pour mime-support (3.60) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.23-2) ...
Traitement des actions différées (« triggers ») pour systemd (234-3) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.13.3-9) ...
Paramétrage de plexmediaserver (1.9.2.4285-9f65b88ae) ...
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
root@debian:/etc/apt/sources.list.d# apt-cache policy plexmediaserver
plexmediaserver:
Installé : 1.9.2.4285-9f65b88ae
Candidat : 1.9.2.4285-9f65b88ae
Table de version :
*** 1.9.2.4285-9f65b88ae 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
100 /var/lib/dpkg/status
1.9.1.4272-b207937f1 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.8.4.4249-3497d6779 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.8.3.4235-2d20185b0 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.8.1.4139-c789b3fbb 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.7.5.4035-313f93718 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.5.7.4016-25d94bad9 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.5.6.3790-4613ce077 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.5.5.3634-995f1dead 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.5.4.3596-0d2d8c2be 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.5.3.3580-4b377d295 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.4.4.3495-edef59192 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.4.3.3433-03e4cfa35 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.3.4.3285-b46e0ea 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.3.3.3165-ed2f710 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.3.3.3148-b38628e 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.3.2.3112-1751929 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.2.7.2987-1bef33a 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.1.4.2757-24ffd60 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.1.3.2700-6f64a8d 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.0.3.2461-35f0caa 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
1.0.2.2413-7caf41d 500
500 https://downloads.plex.tv/repo/deb public/main amd64 Packages
exactly the same responses as grandtoubab after changing ./public to public. Its working with a warning. My guess is, that its the new apt version 1.5 that will also be coming to ubuntu 17.10 this month https://packages.ubuntu.com/artful/apt. They changed something regarding security checks and the release file i think or its the new https method apt uses now.
@grandtoubab said:
Remarks
You can see the plex repository don’t give any release information all versions are from unknown
I’m finding the same. Ubuntu 17.10 x64
When /etc/apt/sources.list.d/plexmediaserver.list contains deb https://downloads.plex.tv/repo/deb/ ./public main then apt update reports:
Err:15 https://downloads.plex.tv/repo/deb ./public Release
404 Not Found [IP: 104.20.7.9 443]
Reading package lists... Done
E: The repository 'https://downloads.plex.tv/repo/deb ./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.
The “Conflicting distribution” message is just a warning as indicated by the “W:” at the beginning of the line. You should observe that your Plex server is still updating properly. You can confirm this by going to the Plex UI Settings -> Server -> General -> Check for updates and you’ll see that you’re good. The “apt list plexmediaserver” output also shows you are current.
I’d agree this needs to be fixed. I’m not sure why this has been an issue for so long and it seems pretty trivial to fix. Unfortunately we have to live with this for now.
If you do an Internet search for “apt-get conflicting distribution” you’ll see a lot of discussions around this (most are Plex users).
@mdmower said:
I’m finding the same. Ubuntu 17.10 x64
see
@sturdy-wings said:
The “Conflicting distribution” message is just a warning as indicated by the “W:”
problem is Plex tells us to use the variant with the “./” which will fail for alle debian stretch/ubuntu 17.10 users.
The problem is rooted in the change made for apt 1.5.
We keep one ubuntu/debian repo for all supported versions.
If we change to accommodate 17 right now, we break something else. They changed the rules for 17.
That having been said, we (ziggimon and I) are working on a different way of handling all the repos so this type issue doesn’t happen for any of the linux & NAS distros.
@twofingerpoi said:
I’m having the same issue with Ubuntu 17.10. In the meanwhile, is there a suggested work-around?
There is a report of it having been fixed in their latest updates. I do not know the details but it has been verified working again, without errors or warnings, in Ubuntu 17.10
I stumbled across this thread trying to figure out why my own updates weren’t working. I was getting the error message:
[dev:jhubbard@denali:~]$ apt update
Ign:1 https://downloads.plex.tv/repo/deb ./public InRelease
Err:2 https://downloads.plex.tv/repo/deb ./public Release
Received HTTP code 403 from proxy after CONNECT
[snip]
Reading package lists... Done
E: The repository 'https://downloads.plex.tv/repo/deb ./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.
In my case the problems was because I’m connecting through an apt-cacher-ng instance. I’ve seen this same kine of problem on a couple of other repositories. For me I was able to fix things by adding the following to my existing /etc/apt/apt.conf.d/01proxy file:
Being that OP said that he’d just spun up a Debian VM for testing its unlikely they were going through a package cacher but that might be the case. Maybe this’ll help someone else.
W: Distribution en conflit : https://downloads.plex.tv/repo/deb public InRelease (public attendu, mais obtenu)
E: Impossible de récupérer https://downloads.plex.tv/repo/deb/dists/public/main/binary-amd64/Packages.gz Le fichier a une taille incohérente (3488 != 3607). Le miroir est peut-être en cours de mise à jour ? [IP : 104.20.7.9 443]
Hashes of expected file:
- Filesize:3607 [weak]
- SHA512:bd4abfc2d8d6222e11a4dc465de2e7c1e3a69c59b7d2752230a7cce27688f86b7cf2a1b7025c1a599322e31cd08be96e604f273d90834a5d5f686adde3cfdd06
- SHA256:5cd64172489c263c3c3cd5b70d4c4c1855efaf24c177abf59f1567d503a77f47
- MD5Sum:027d169776e0d6a19437b821cc83ba39 [weak]
Release file created at: Mon, 19 Feb 2018 18:33:56 +0000
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
It seems the mirror server is not up to date
I downloaded and install manually the last version 1.11.3.4803-c40bba82e amd64 wich is not seen in the repository