开发者

Yum install ffmpeg can't find repomd.xml

开发者 https://www.devze.com 2023-01-06 16:51 出处:网络
I am trying to install ffmpeg on an EC2 instance, by doing the following: (1) Editing: \'/etc/yum.repos.d/dag.repo\' and inserting:

I am trying to install ffmpeg on an EC2 instance, by doing the following:

(1) Editing: '/etc/yum.repos.d/dag.repo' and inserting:

'[dag]

name=Dag RPM Repository for Red Hat Enterprise Linux

baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag

gpgcheck=1

enabled=1'

(2) R开发者_运维百科unning 'yum update'

I get the error 'http://apt.sw.be/redhat/el8/en/i386/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found'. Has anyone got an idea what the right URL is?

Thanks in advance for any help.


Sounds like you're trying to use a EL repo with Fedora 8. Use the appropriate repo for the distro you're running.


The .../el8/... part of your URL is wrong; the latest version of Red Hat Enterprise Linux is 5, so I'm guessing you need to replace .../el8/... with .../el5/...

This will depend on the version of Red Hat you're running on your EC2 instance, so check that before you edit the URL in your dag.repo file.

0

精彩评论

暂无评论...
验证码 换一张
取 消