每當我嘗試在科學linux 6上安裝gcc 4.8時,出現以下錯誤。有誰知道的任何錯誤修正:在科學linux上安裝gcc 4.8時出現錯誤6
[[email protected]]# yum install libstdc++-devel.i686
Loaded plugins: refresh-packagekit, security
Setting up Install Process
http://people.centos.org/tru/devtools-2/6.6/x86_64/RPMS/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: testing-devtools-2-centos-6.6. Please verify its path and try again
編輯:百勝repolist OUTPUT:
Loaded plugins: refresh-packagekit, security
http://people.centos.org/tru/devtools-2/6.6/x86_64/RPMS/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://people.centos.org/tru/devtools-2/6.6/x86_64/RPMS/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
repo id repo name status
sl Scientific Linux 6.6 - x86_64 6,665
sl-security Scientific Linux 6.6 - x86_64 - security updat 420
sl6x Scientific Linux 6x - x86_64 6,665
sl6x-security Scientific Linux 6x - x86_64 - security update 420
testing-devtools-2-centos-6.6 testing 2 devtools for CentOS 6.6 0
repolist: 14,170
編輯:wget的-O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo OUTPUT:
--2015-04-22 13:05:01-- http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo
Resolving linuxsoft.cern.ch... 2001:1458:201:95::100:13, 2001:1458:201:95::100:14, 2001:1458:201:95::100:d, ...
Connecting to linuxsoft.cern.ch|2001:1458:201:95::100:13|:80... failed: Connection timed out.
Connecting to linuxsoft.cern.ch|2001:1458:201:95::100:14|:80... failed: Connection timed out.
Connecting to linuxsoft.cern.ch|2001:1458:201:95::100:d|:80... failed: Connection timed out.
我相信錯誤是非常簡單的在這裏。你試圖得到一個不再存在的包(因此是404)。你有更新你的資料庫清單嗎? – meneldal
@meneldal我是科學Linux新手,因此我不知道如何更新存儲庫列表。你可以請指導我..我嘗試百勝更新...仍然有同樣的錯誤 –