質問: 0 #released updates [updates] name=centos-$releasever - updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-centos-7 #additional packages that may be useful [extras] name=centos-$releasever - extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-centos-7 #additional packages that extend functionality of existing packages [centosplus] name=centos-$releasever - plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-centos-7 yum repolistの結果:loaded plugins: fastestmirror, langpacks http://mirror.centos.org/centos/%24releasever/os/x86_64/repodata/repomd.xml: [errno 14] http error 404 - not found trying other mirror. to address this issue please refer to the below knowledge base article https://access.redhat.com/articles/1320623 if above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/ http://mirror.centos.org/centos/%24releasever/extras/x86_64/repodata/repomd.xml: [errno 14] http error 404 - not found trying other mirror. http://mirror.centos.org/centos/%24releasever/extras/x86_64/repodata/repomd.xml: [errno 14] http error 404 - not found trying other mirror. http://mirror.centos.org/centos/%24releasever/updates/x86_64/repodata/repomd.xml: [errno 14] http error 404 - not found trying other mirror. repo id repo name status extras/$releasever/x86_64 centos-$releasever - extras 0 updates/$releasever/x86_64 centos-$releasever - updates 0 repolist: 0 カール結果:curl 'http://mirrorlist.centos.org/?release=6&arch=i386&repo=os' http://mirrors.usc.edu/pub/linux/distributions/centos/6.8/os/i386/ http://mirror.lug.udel.edu/pub/centos/6.8/os/i386/ http://mirrors.lga7.us.voxel.net/centos/6.8/os/i386/ http://mirror.chpc.utah.edu/pub/centos/6.8/os/i386/ http://centos.unixheads.org/6.8/os/i386/ http://centos.mirror.lstn.net/6.8/os/i386/ http://centos.mirror.nac.net/6.8/os/i386/ http://mirror.tocici.com/centos/6.8/os/i386/ http://mirror.supremebytes.com/centos/6.8/os/i386/ http://mirror.steadfast.net/centos/6.8/os/i386/ 外部のホストにpingを実行し、ドメイン名を掘り下げることができます。dig cnn.com ; <<>> dig 9.9.4-redhat-9.9.4-29.el7_2.3 <<>> cnn.com ;; global options: +cmd ;; got answer: ;; ->>header<<- opcode: query, status: noerror, id: 29420 ;; flags: qr rd ra; query: 1, answer: 2, authority: 0, additional: 1 ;; opt pseudosection: ; edns: version: 0, flags:; udp: 4096 ;; question section: ;cnn.com. in a ;; answer section: cnn.com. 156 in a 157.166.226.26 cnn.com. 156 in a 157.166.226.25 ;; query time: 1 msec ;; server: 68.105.28.12#53(68.105.28.12) ;; when: mon jun 20 12:28:44 edt 2016 ;; msg size rcvd: 68 これは、em1とem2が異なるipアドレスにバインドされていたときの古い構成と関係があると確信していますが、他にどこを見ればよいかわかりません。 yumを機能させるために何が欠けている可能性がありますか?
回答: ソース 回避策は、次のコマンドを実行することです。rm -fr /var/cache/yum/x86_64/7 yum clean all これは私のために働いた。 centos linuxリリース7.2.1511(コア)