我试图通过执行以下操作在EC2实例上安装ffmpeg:
(1)编辑:'/ etc / yum.repos.d / dag.repo'并插入:
“[DAG]
name = Red Hat Enterprise Linux的Dag RPM存储库
baseurl = http://apt.sw.be/redhat/el $ releasever / en / $ basearch / dag
gpgcheck = 1
启用= 1'
(2)运行'yum update'
我收到错误'http://apt.sw.be/redhat/el8/en/i386/dag/repodata/repomd.xml:[Errno 14] HTTP错误404:未找到' . 有谁知道正确的URL是什么?
在此先感谢您的帮助 .
2 回答
听起来你正试图在Fedora 8上使用EL repo . 使用适当的repo来运行你正在运行的发行版 .
您网址的... / el8 / ...部分错误;最新版本的Red Hat Enterprise Linux是5,所以我猜你需要用... / el5 / ...替换... / el8 / ...
这取决于您在EC2实例上运行的Red Hat版本,因此请在编辑dag.repo文件中的URL之前检查一下 .