fedora 19: 更新またはインストールできません。 - 「ホストを確認できません...」

fedora 19: 更新またはインストールできません。 - 「ホストを確認できません...」

ミラーが見つからないため更新できません。

[root@localhost ~]# yum update
Loaded plugins: langpacks, refresh-packagekit
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=fedora-19&arch=i386 error was
14: curl#6 - "Could not resolve host: mirrors.fedoraproject.org; Name or service not known"
http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/releases/19/Everything/i386/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: www.mirrorservice.org; Name or service not known"
Trying other mirror.
ftp://ftp.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/releases/19/Everything/i386/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.mirrorservice.org; Name or service not known"
Trying other mirror.

このアドレスと失敗した他のすべてのアドレスをpingできます。

[root@localhost ~]# ping www.mirrorservice.org
PING www.mirrorservice.org (212.219.56.184) 56(84) bytes of data.
64 bytes from www.mirrorservice.org (212.219.56.184): icmp_seq=1 ttl=50 time=19.6 ms
64 bytes from www.mirrorservice.org (212.219.56.184): icmp_seq=2 ttl=50 time=19.6 ms
64 bytes from www.mirrorservice.org (212.219.56.184): icmp_seq=3 ttl=50 time=19.7 ms
64 bytes from www.mirrorservice.org (212.219.56.184): icmp_seq=4 ttl=50 time=20.1 ms
^C
--- www.mirrorservice.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 19.607/19.788/20.104/0.189 ms

アップデート#1

これは出力次のコマンドで:

$ URLGRABBER_DEBUG=1,debug.log yum update

ベストアンサー1

上記のDHCPから取得したルーターアドレスを追加してnameserver 8.8.8.8この問題を解決しました。resolv.conf

自動DHCP設定で機能しない理由がわかりません。

ありがとうございます。

おすすめ記事