CentOs 6.6にgccをインストールできない

CentOs 6.6にgccをインストールできない

一部のファイルが見つからないため、centOsにgccをインストールできません。これは、「yum install gcc *」を実行したときのコンソールの最後の部分です。解決策を知っている人はいますか? --> Processing Dependency: binutils-hppa64-linux-gnu >= 2.23 for package: gcc-hppa64-linux-gnu-4.7.2-2.aa.20121114svn.el6.1.i686 ---> Package gcc-ia64-linux-gnu.i686 0:4.7.2-2.aa.20121114svn.el6.1 will be installed --> Processing Dependency: binutils-ia64-linux-gnu >= 2.23 for package: gcc-ia64-linux-gnu-4.7.2-2.aa.20121114svn.el6.1.i686 ---> Package gcc-java.i686 0:4.4.7-11.el6 will be installed http://mirrors.coreix.net/centos/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://centos.mirroring.pulsant.co.uk/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirror.ox.ac.uk/sites/mirror.centos.org/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 14] PYC URL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirror.mhd.uk.as44574.net/mirror.centos.org/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://www.mirrorservice.org/sites/mirror.centos.org/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 1 4] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirrors-uk.go-parts.com/centos/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirrors.ukfast.co.uk/sites/ftp.centos.org/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 14] P YCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirror.synergyworks.co.uk/centos/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 14] PYCURL ERR OR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirrors.melbourne.co.uk/sites/ftp.centos.org/centos/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [E rrno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://mirrors.vooservers.com/centos/6.6/updates/i386/repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. Error: failure: repodata/0433e65e37015feb8fd655bdfba7785145fd36885449aa672573ba028a0df2b3-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.

ベストアンサー1

ミラーリストに問題があります。 404が表示されるという事実は、間違いなくインターネット接続が良好であることを意味します(DNSが正しく設定されていると仮定)。

GCCはデフォルトリポジトリから出てきますので、内容を確認して/etc/yum.repos.d/CentOS-Base.repo項目[base]を確認してください。

たとえば、私のCentOS 6.6システムには次のものがあります。

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

curlまた、ミラーリストのURLを取得できることを確認してください。次のコマンドを実行すると、URLのリストが表示されることを確認してください。

curl "http://mirrorlist.centos.org/?release=6&arch=i386&repo=os"

おすすめ記事