Yum repo missing?

server-linux

#1

I get a 404 on the x86_64 architecture repository?

I'm on CentOS.

# cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core) 

64 bit arch.

# uname -i
x86_64

My plex repo is configured properly.

# cat plex.repo
[PlexRepo]
name=PlexRepo
baseurl=https://downloads.plex.tv/repo/rpm/$basearch/
enabled=1
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key
gpgcheck=1

This shows the problem. Nothing there.

# yum --disablerepo="*" --enablerepo="PlexRepo" list available
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

Yup. It's gone. Help? I'd much rather let my package manager deal with things then have to be looking for updates and then manually installing a package.

# wget https://downloads.plex.tv/repo/rpm/x86_64/
--2017-10-09 11:11:26--  https://downloads.plex.tv/repo/rpm/x86_64/
Resolving downloads.plex.tv (downloads.plex.tv)... 104.20.7.9, 104.20.6.9, 2400:cb00:2048:1::6814:609, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.20.7.9|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-10-09 11:11:26 ERROR 404: Not Found.

#2

Did you find out anything on this? I also find it a bit irritating that there is an official guide for using a repo but it doesn’t work.


#3

@markmcb What is your specific problem? Is yum, dnf or something similar not able to access the rpm repo? FYI: you cannot access the repo with any browser, curl or wget or something like that. That’s “by design” of the Plex repos.


#4

It’s the same as in the original post. Repo is installed. I can see it. But if I use dnf or yum to query the repo, there are no results, e.g., “yum search plex” yields nothing. Likewise if I ask for a list of everything, I get an empty list. Something seems broken.

cat plex.repo
[PlexRepo]
name=PlexRepo
baseurl=https://downloads.plex.tv/repo/rpm/$basearch/
enabled=1
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key
gpgcheck=1

yum --disablerepo “*” --enablerepo “PlexRepo” list available
Last metadata expiration check: 5:46:00 ago on Sat 30 Jun 2018 10:41:43 AM PDT.

Seems like the “by design” is quirky or I’ve got an weird local exception.


#5

Are you looking for a list of versions to install?

If so, there is only current public loaded.


#6

No. Just trying to understand why I see nothing. Listing everything was just a troubleshooting step.


#7

@markmcb Did you perform the mandatory sudo yum update? If so, please tell us about your distribution, architecture and location of plex.repo.


#8

When the repository is enabled, this is what you should see (based on dependencies)

[chuck@lizum ~.113]$ sudo yum update plexmediaserver
Last metadata expiration check: 0:00:00 ago on Sat 30 Jun 2018 08:10:39 PM EDT.
Package plexmediaserver available, but not installed.
  * Maybe you meant: plexmediaserver
No match for argument: plexmediaserver
Error: No packages marked for upgrade.
[chuck@lizum ~.114]$ sudo yum install plexmediaserver
Last metadata expiration check: 0:00:22 ago on Sat 30 Jun 2018 08:10:39 PM EDT.
Dependencies resolved.
==================================================================================================
 Package                  Arch            Version                         Repository         Size
==================================================================================================
Installing:
 plexmediaserver          x86_64          1.13.2.5154-fd05be322           PlexRepo          106 M
Installing dependencies:
 libnsl                   x86_64          2.27-19.fc28                    updates            75 k

Transaction Summary
==================================================================================================
Install  2 Packages

Total download size: 106 M
Installed size: 228 M
Is this ok [y/N]: 

#9

Right. That’s what I’d expect too.

yum clean all
25 files removed

yum update
Fedora 28 - x86_64 - Updates 2.3 MB/s | 18 MB 00:07
Fedora 28 - x86_64 10 MB/s | 60 MB 00:05
PlexRepo 4.4 MB/s | 689 kB 00:100:

It looks like it talks to the repo. Curious if 689 kB is what others see. I just get nothing when searching for or trying to install plexmediaserver using both yum and dnf.

This is fully up-to-date Fedora 28, x86_64.


#10

Fully up to date Fedora 28 here as well.

The size of the repo’s list is common for everyone . It contains the headers and path names needed

[chuck@lizum ~.120]$ sudo yum update
Fedora 28 - x86_64 - Updates                                      2.8 MB/s |  18 MB     00:06    
Fedora 28 - x86_64                                                2.7 MB/s |  60 MB     00:22    
google-chrome                                                      72 kB/s | 3.7 kB     00:00    
PlexRepo                                                          2.1 MB/s | 689 kB     00:00        
Last metadata expiration check: 0:00:00 ago on Sat 30 Jun 2018 08:37:55 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[chuck@lizum ~.121]$

Note: You might want to learn the new dnf commands. yum is deprecated.


#11

Right, that’s why I was curious if it was 689 for you. If it wasn’t then I’d assume something was not right with the exchange.

Grrrr. Who knows then. If it all works for you on F28, then I assume there’s some non-obvious conflict on my end. Thanks for the quick input. If find the issue I’ll update this.


#12

I just fired up F28 in a fresh VM and it worked. So, I’ll just move my stuff over and let the mystery die.