0
我在Amazon EC2中有一個fedora實例runnig。問題是,我已經安裝了一個PHP,但我想更新(PS:有人已經給我的實例與PHP安裝)。當我嘗試命令:yum更新php時出現錯誤消息。在AMAZON EC2的fedora實例中更新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 repositorie文件中的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.