我有一个在 Amazon EC2 中运行的 Fedora 实例。问题是,我已经安装了一个 php,但我想更新(PS:有人已经给了我安装了 php 的实例)。当我尝试命令时: yum update php 出现错误消息。
Setting up Update Process
Setting up repositories
Cannot find a valid baseurl for repo: updates-released
Error: Cannot find a valid baseurl for repo: updates-released
我试图取消注释 yum 存储库文件中的 baseurl 行,但出现了一个新错误。
Setting up Update Process
Setting up repositories
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: updates-released
failure: repodata/repomd.xml from updates-released: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from updates-released: [Errno 256] No more mirrors to try.