installing media player on centos 7

Issues related to applications and software problems
Post Reply
tmm
Posts: 9
Joined: 2023/05/04 06:57:46

installing media player on centos 7

Post by tmm » 2023/11/23 08:20:49

Hi All,

I've had centos 7 for a couple years now. One thing that I've NEVER been able to do is install any player. Always fails in the install
(example is vlc, but all of the others I've tried, -same, same) :

yum install vlc

or desperately:
yum install vlc --nogpgcheck
yum install vlc smplayer --nogpgcheck



I get this kind of message:

Downloading packages:
No Presto metadata available for okay
No Presto metadata available for rpmfusion-free-updates
epel/x86_64/prestodelta | 2.0 kB 00:00:00
schroedinger-1.0.11-5.el7.cent FAILED ] 0.0 B/s | 0 B --:--:-- ETA
http://repo.okay.com.mx/centos/7/x86_64 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=okay clean metadata
Trying other mirror.
libav-12-3.el7.x86_64.rpm FAILED
http://repo.okay.com.mx/centos/7/x86_64 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=okay clean metadata
Trying other mirror.
(1/7): libdav1d-0.5.2-3.el7.x86_64.rpm | 341 kB 00:00:00
vidstab-1.1-1.git97c6ae2.el7.c FAILED ] 0.0 B/s | 376 kB --:--:-- ETA
http://repo.okay.com.mx/centos/7/x86_64 ... x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=okay clean metadata
Trying other mirror.
warning: /var/cache/yum/x86_64/7/rpmfusion-free-updates/packages/ffmpeg-libs-3.4.13-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID f5cf6c1e: NOKEY
Public key for ffmpeg-libs-3.4.13-1.el7.x86_64.rpm is not installed
(2/7): ffmpeg-libs-3.4.13-1.el7.x86_64.rpm | 6.4 MB 00:00:03
vlc-core-3.0.20-1.el7.x86_64.r FAILED ==== ] 1.1 MB/s | 7.0 MB 00:00:12 ETA
https://mirror.linux.ec/rpmfusion/free/ ... x86_64.rpm: [Errno 14] HTTPS Error 404 - Not FoundMB 00:00:12 ETA
Trying other mirror.
(3/7): vlc-core-3.0.20-1.el7.x86_64.rpm | 11 MB 00:00:02
(4/7): vlc-3.0.20-1.el7.x86_64.rpm | 1.6 MB 00:00:12


Error downloading packages:
libav-12-3.el7.x86_64: [Errno 256] No more mirrors to try.
vidstab-1.1-1.git97c6ae2.el7.centos.x86_64: [Errno 256] No more mirrors to try.
schroedinger-1.0.11-5.el7.centos.x86_64: [Errno 256] No more mirrors to try.

-And... no working vlc, of course.

Any help for this noob much appreciated. -Definitely don't want to wreck this machine as is, of course, trying to flail around...
At the moment, any movie (like software help files), I can load these local files into chrome and watch, but that's pretty crap!
Thanks!!

User avatar
jlehtone
Posts: 4532
Joined: 2007/12/11 08:17:33
Location: Finland

Re: installing media player on centos 7

Post by jlehtone » 2023/11/23 10:38:49

What is this repo "okay" that clearly is not okay?

I would:

Code: Select all

yum-config-manager --disable okay
yum --enablerepo=* clean all
yum-config-manager --enable rpmfusion-nonfree-updates
yum install epel-release
yum install vlc
The RPM Fusion packages tend to require something from EPEL.

tmm
Posts: 9
Joined: 2023/05/04 06:57:46

Re: installing media player on centos 7

Post by tmm » 2023/11/24 05:24:15

Hi

Thanks for your quick response. Noob question:
-Would there be any issue in the future with other "yum" runs for other apps? -So far, it's just been these media programs that won't install, other stuff runs through easily, so I don't want to break anything here! (By, say, diabling "okay", whatever that is ;-)

Thanks!

User avatar
jlehtone
Posts: 4532
Joined: 2007/12/11 08:17:33
Location: Finland

Re: installing media player on centos 7

Post by jlehtone » 2023/11/24 10:01:59

Yum reads from /etc/yum.repos.d/*.repo definitions of repositories.
Definition tells where (URL) the files of repository are and some other options.

The yum-config-manager --disable okay changes "enabled" option to off; yum will not use disabled repo.
The yum-config-manager --enable okay changes "enabled" option to on; yum will use enabled repo.

Yum can install and update only the packages that it sees. Only the packages that are in enabled repos.
See yum repolist and yum repolist all


The "okay", "epel", and "rpmfusion*" are third party repos.
They might have packages (for same thing) that are conflicting.
(The epel is designed to not conflict with base CentOS repos.)

tmm
Posts: 9
Joined: 2023/05/04 06:57:46

Re: installing media player on centos 7

Post by tmm » 2023/11/24 10:37:38

Thanks!

You've cleared up a lot of old confusion.

I've gone at it like you've suggested, and vlc is installed and working.

Many thanks!

Post Reply