Ubuntu/Debian repos are back - but requires manual acceptance - EXTRA: Yum/RPM repo also back!

Hello everyone!

I just pushed a changed that brought the Ubuntu/Debian repos back with the latest version of PMS. This unfortunately lead to situation where you manually have to accept that we changed some values in the repo. It’s not hard, but let’s go through them now.

If you run apt-get update you will get a message like this:

E: Repository 'https://downloads.plex.tv/repo/deb public Release' changed its 'Origin' value from '' to 'Artifactory'
E: Repository 'https://downloads.plex.tv/repo/deb public Release' changed its 'Label' value from '' to 'Artifactory'
E: Repository 'https://downloads.plex.tv/repo/deb public Release' changed its 'Suite' value from '' to 'public'
E: Repository 'https://downloads.plex.tv/repo/deb public Release' changed its 'Codename' value from '' to 'public'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

THIS IS EXPECTED and we just need to accept these changes. You can do that with apt update

If you run sudo apt update you will get a prompt like this:

E: Repository 'https://downloads.plex.tv/repo/deb public Release' changed its 'Origin' value from '' to 'Artifactory'
E: Repository 'https://downloads.plex.tv/repo/deb public Release' changed its 'Label' value from '' to 'Artifactory'
E: Repository 'https://downloads.plex.tv/repo/deb public Release' changed its 'Suite' value from '' to 'public'
E: Repository 'https://downloads.plex.tv/repo/deb public Release' changed its 'Codename' value from '' to 'public'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y

Accept this and you are fine!

This should allow you to install plexmediaserver version 1.15.3.876-ad6e39743 and should not prompt you in the future.

19 Likes

This is what I’m seeing after “sudo apt-get update”

paul@UBUNTU-SERVER:~$ sudo apt-get update
Get:1 https://downloads.plex.tv/repo/deb public InRelease [3,408 B]
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:6 https://downloads.plex.tv/repo/deb public/main i386 Packages [5,441 B]
Err:6 https://downloads.plex.tv/repo/deb public/main i386 Packages
File has unexpected size (20 != 5441). Mirror sync in progress? [IP: 104.18.157.41 443]
Hashes of expected file:

  • Filesize:5441 [weak]
  • SHA512:70342f07906040533516202a4e0a5e57b21b7a3d22314ff16d1000b1422b440a79f2d7df71b7c97d512675c8b4667844c05f11a367fb6aa972bc294168448272
  • SHA256:3c4d2e7417abaefaee835873c4f39f8883f26c35cb158b92eb094b91db865e69
  • MD5Sum:b58182baafbb335ed92aa837c0b0f67f [weak]
    Release file created at: Mon, 31 Dec 2018 08:46:43 +0000
    Get:7 https://downloads.plex.tv/repo/deb public/main amd64 Packages [5,409 B]
    Err:7 https://downloads.plex.tv/repo/deb public/main amd64 Packages

Fetched 74.6 kB in 1s (60.7 kB/s)
Reading package lists… Done
W: Conflicting distribution: https://downloads.plex.tv/repo/deb public InRelease (expected public but got )
E: Failed to fetch https://downloads.plex.tv/repo/deb/dists/public/main/binary-i386/Packages.gz File has unexpected size (20 != 5441). Mirror sync in progress? [IP: 104.18.157.41 443]
Hashes of expected file:
- Filesize:5441 [weak]
- SHA512:70342f07906040533516202a4e0a5e57b21b7a3d22314ff16d1000b1422b440a79f2d7df71b7c97d512675c8b4667844c05f11a367fb6aa972bc294168448272
- SHA256:3c4d2e7417abaefaee835873c4f39f8883f26c35cb158b92eb094b91db865e69
- MD5Sum:b58182baafbb335ed92aa837c0b0f67f [weak]
Release file created at: Mon, 31 Dec 2018 08:46:43 +0000
E: Failed to fetch https://downloads.plex.tv/repo/deb/dists/public/main/binary-amd64/Packages.gz
E: Some index files failed to download. They have been ignored, or old ones used instead.

Ah we might have missed resetting the cache for i386. I’ll ask the ops guys.

Should be fixed now!

thank you.
could you please state what should be in /etc/apt/sources.list.d/plexmediaserver.list in Debian 9 ??
would “deb https://downloads.plex.tv/repo/deb/ public main” be OK ??

Yes that should be fine

Works great! Thanks!

with the line " deb https://downloads.plex.tv/repo/deb/ public main" I get the following response:

[quote]
Ignored: https://downloads.plex.tv/repo/deb public InRelease

Touched: https://downloads.plex.tv/repo/deb public Release

Fetched: https://downloads.plex.tv/repo/deb public/main amd64 Packages [432 B]

why would it ignore InRelease ??

Thanks! It works like a charm!

The new scripts don’t write the InRelease file.

Uninstalled the Dev2Day plexmediaserver-installer and it automagically upgraded my plexmediaserver to the newest version. Everything appears to be functioning normally. Went ahead and removed pms.list from sources.list.d to stop scanning the Dev2Day repo for updates. Thanks to everyone who worked on getting the new repo up and running.

This isn’t working for me… Ubuntu Server 16.04.6

/etc/apt/sources.list.d/plexmediaserver.list contains:
deb https://downloads.plex.tv/repo/deb/ public main
sudo apt update:
Hit:8 https://downloads.plex.tv/repo/deb public InRelease
but it doesn’t show up in the list of upgradable packages when I do this:
apt list --upgradable

If you’re not posting an InRelease file anymore, how am I supposed to make apt refer to something else?

1 Like

Find a file called downloads.plex.tv_repo_deb_dists_public_InRelease in /var/lib/apt/lists/.

Delete that file.

19 Likes

Working great, thank you very much for fixing!

Finally the repos are fixed and my OCD is back to normal. :grin:

Ditto!! Thanks for getting the repo up & running again :slight_smile:

I’m thrilled about this, but the hilarious part is that this announcement arrived literally four hours after I built a linux server, tried to install from the repro, and was really confused. That’s what I get for not procrastinating!

Thank you, this worked for me

great thx. I used midnite commander to ren/move that apt file & did the sudo apt update.

-wbm