CentOS7 yum问题

CENTOS7 yum问题 [Errno 256]

在centos7中运行virtuoso时遇到以下错误

/bin/ksh: bad interpreter: No such file or directory.

原因为kornshell没有安装。

连上网yum install安装时,报错如下

[root@centos7 ~]# yum install gcc-c++
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * epel: download.nus.edu.sg
 * extras: ftp.sjtu.edu.cn
 * updates: ftp.sjtu.edu.cn
http://mirrors.nju.edu.cn/centos/7.8.2003/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 wiki article 

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://mirrors.bfsu.edu.cn/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.ustc.edu.cn/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.sjtu.edu.cn/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.bit.edu.cn/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.lzu.edu.cn/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.stu.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.neusoft.edu.cn/centos/7.8.2003/os/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
http://mirrors.nju.edu.cn/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.bfsu.edu.cn/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.ustc.edu.cn/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.sjtu.edu.cn/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.bit.edu.cn/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.lzu.edu.cn/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror01.idc.hinet.net/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.neusoft.edu.cn/centos/7.8.2003/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
http://mirrors.nju.edu.cn/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.bfsu.edu.cn/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.ustc.edu.cn/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.sjtu.edu.cn/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.bit.edu.cn/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.lzu.edu.cn/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror01.idc.hinet.net/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.neusoft.edu.cn/centos/7.8.2003/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: libstdc++-devel = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64
--> Processing Dependency: gcc = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-39.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-39.el7 for package: gcc-4.8.5-39.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-39.el7.x86_64
---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be installed
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-39.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-307.el7.1 will be installed
--> Processing Dependency: glibc-headers = 2.17-307.el7.1 for package: glibc-devel-2.17-307.el7.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-307.el7.1.x86_64
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-307.el7.1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-307.el7.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-307.el7.1.x86_64
--> Running transaction check
---> Package kernel-headers.x86_64 0:3.10.0-1127.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================
 Package                      Arch                Version                        Repository         Size
=========================================================================================================
Installing:
 gcc-c++                      x86_64              4.8.5-39.el7                   base              7.2 M
Installing for dependencies:
 cpp                          x86_64              4.8.5-39.el7                   base              5.9 M
 gcc                          x86_64              4.8.5-39.el7                   base               16 M
 glibc-devel                  x86_64              2.17-307.el7.1                 base              1.1 M
 glibc-headers                x86_64              2.17-307.el7.1                 base              689 k
 kernel-headers               x86_64              3.10.0-1127.el7                base              8.9 M
 libstdc++-devel              x86_64              4.8.5-39.el7                   base              1.5 M

Transaction Summary
=========================================================================================================
Install  1 Package (+6 Dependent packages)

Total download size: 42 M
Installed size: 84 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.bfsu.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://mirrors.bfsu.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.nju.edu.cn/centos/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://mirrors.nju.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://mirrors.bfsu.edu.cn/centos/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://mirrors.bfsu.edu.cn/centos/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.nju.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.bfsu.edu.cn/centos/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://mirrors.nju.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://mirrors.bfsu.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://mirrors.nju.edu.cn/centos/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://mirrors.nju.edu.cn/centos/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://mirrors.tuna.tsinghua.edu.cn/centos/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://mirrors.nju.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.ustc.edu.cn/centos/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://mirrors.ustc.edu.cn/centos/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://mirrors.bfsu.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://mirror.bit.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://mirror.lzu.edu.cn/centos/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://mirror.bit.edu.cn/centos/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://mirrors.ustc.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://mirrors.ustc.edu.cn/centos/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://mirror.lzu.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://mirror.bit.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://mirror.bit.edu.cn/centos/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://mirrors.ustc.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://mirror.lzu.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.ustc.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirror.bit.edu.cn/centos/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://ftp.sjtu.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirror.bit.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://ftp.sjtu.edu.cn/centos/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://mirrors.ustc.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://ftp.sjtu.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://ftp.sjtu.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirror.lzu.edu.cn/centos/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://mirror.bit.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://ftp.sjtu.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://ftp.sjtu.edu.cn/centos/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirror.lzu.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://ftp.tc.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://ftp.stu.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://ftp.stu.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://ftp.stu.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://ftp.stu.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://mirror.lzu.edu.cn/centos/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://ftp.sjtu.edu.cn/centos/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://mirror.lzu.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://ftp.stu.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
glibc-devel-2.17-307.el7.1.x86 FAILED                                          
http://mirrors.neusoft.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-devel-2.17-307.el7.1.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
gcc-c++-4.8.5-39.el7.x86_64.rp FAILED                                          
http://mirrors.neusoft.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-c%2B%2B-4.8.5-39.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://ftp.stu.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
cpp-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.neusoft.edu.cn/centos/7.8.2003/os/x86_64/Packages/cpp-4.8.5-39.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://ftp.stu.edu.tw/Linux/CentOS/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
libstdc++-devel-4.8.5-39.el7.x FAILED                                          
http://mirrors.neusoft.edu.cn/centos/7.8.2003/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-39.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
gcc-4.8.5-39.el7.x86_64.rpm    FAILED                                          
http://mirrors.neusoft.edu.cn/centos/7.8.2003/os/x86_64/Packages/gcc-4.8.5-39.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
kernel-headers-3.10.0-1127.el7 FAILED                                          
http://mirrors.neusoft.edu.cn/centos/7.8.2003/os/x86_64/Packages/kernel-headers-3.10.0-1127.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.
glibc-headers-2.17-307.el7.1.x FAILED                                          
http://mirrors.neusoft.edu.cn/centos/7.8.2003/os/x86_64/Packages/glibc-headers-2.17-307.el7.1.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to mirrors.neusoft.edu.cn:80; Operation now in progress"
Trying other mirror.


Error downloading packages:
  kernel-headers-3.10.0-1127.el7.x86_64: [Errno 256] No more mirrors to try.
  glibc-headers-2.17-307.el7.1.x86_64: [Errno 256] No more mirrors to try.
  glibc-devel-2.17-307.el7.1.x86_64: [Errno 256] No more mirrors to try.
  cpp-4.8.5-39.el7.x86_64: [Errno 256] No more mirrors to try.
  libstdc++-devel-4.8.5-39.el7.x86_64: [Errno 256] No more mirrors to try.
  gcc-4.8.5-39.el7.x86_64: [Errno 256] No more mirrors to try.
  gcc-c++-4.8.5-39.el7.x86_64: [Errno 256] No more mirrors to try.

后面找到解决办法

[root@centos7 ~]# yum clean all
Loaded plugins: fastestmirror, langpacks
Cleaning repos: base epel extras updates
Cleaning up list of fastest mirrors
[root@centos7 ~]# yum makecache
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
epel/x86_64/metalink                                                              | 8.4 kB  00:00:00     
 * base: mirrors.nju.edu.cn
 * epel: mirrors.ustc.edu.cn
 * extras: mirrors.nju.edu.cn
 * updates: mirrors.nju.edu.cn
base                                                                              | 3.6 kB  00:00:00     
epel                                                                              | 4.7 kB  00:00:00     
extras                                                                            | 2.9 kB  00:00:00     
updates                                                                           | 2.9 kB  00:00:00     
(1/16): base/7/x86_64/group_gz                                                    | 153 kB  00:00:00     
(2/16): epel/x86_64/group_gz                                                      |  95 kB  00:00:00     
(3/16): base/7/x86_64/other_db                                                    | 2.6 MB  00:00:01     
(4/16): base/7/x86_64/primary_db                                                  | 6.1 MB  00:00:04     
(5/16): base/7/x86_64/filelists_db                                                | 7.2 MB  00:00:06     
(6/16): epel/x86_64/updateinfo                                                    | 1.0 MB  00:00:06     
(7/16): epel/x86_64/prestodelta                                                   | 1.2 kB  00:00:00     
(8/16): epel/x86_64/primary_db                                                    | 6.9 MB  00:00:03     
(9/16): extras/7/x86_64/other_db                                                  | 134 kB  00:00:00     
(10/16): extras/7/x86_64/filelists_db                                             | 224 kB  00:00:00     
(11/16): epel/x86_64/other_db                                                     | 3.3 MB  00:00:02     
(12/16): updates/7/x86_64/other_db                                                | 225 kB  00:00:00     
(13/16): extras/7/x86_64/primary_db                                               | 222 kB  00:00:02     
(14/16): updates/7/x86_64/filelists_db                                            | 2.1 MB  00:00:07     
(15/16): epel/x86_64/filelists_db                                                 |  12 MB  00:00:18     
(16/16): updates/7/x86_64/primary_db                                              | 3.7 MB  00:00:07     
Metadata Cache Created
[root@centos7 ~]# yum install ksh
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.nju.edu.cn
 * epel: mirrors.ustc.edu.cn
 * extras: mirrors.nju.edu.cn
 * updates: mirrors.nju.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package ksh.x86_64 0:20120801-142.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================
 Package             Arch                   Version                           Repository            Size
=========================================================================================================
Installing:
 ksh                 x86_64                 20120801-142.el7                  base                 884 k

Transaction Summary
=========================================================================================================
Install  1 Package

Total download size: 884 k
Installed size: 3.1 M
Is this ok [y/d/N]: y
Downloading packages:
ksh-20120801-142.el7.x86_64.rpm                                                   | 884 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ksh-20120801-142.el7.x86_64                                                           1/1 
  Verifying  : ksh-20120801-142.el7.x86_64                                                           1/1 

Installed:
  ksh.x86_64 0:20120801-142.el7                                                                          

Complete!

执行 yum clean all
yum makecache

随后yum软件安装就正常了。

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值