yum  install  gcc ,centos7运行失败

wha37 发布于 2017/05/09 16:29
阅读 1K+
收藏 0

【Gopher China万字分享】华为云的Go语言云原生实战经验!>>>

 yum  install  gcc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.cn99.com
 * updates: mirrors.sohu.com
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-11.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-11.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-157.el7_3.1 will be installed
--> Processing Dependency: glibc-headers = 2.17-157.el7_3.1 for package: glibc-devel-2.17-157.el7_3.1.x86_64
--> Processing Dependency: glibc = 2.17-157.el7_3.1 for package: glibc-devel-2.17-157.el7_3.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-157.el7_3.1.x86_64
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.17-157.el7 will be updated
--> Processing Dependency: glibc = 2.17-157.el7 for package: glibc-common-2.17-157.el7.x86_64
---> Package glibc.x86_64 0:2.17-157.el7_3.1 will be an update
---> Package glibc-headers.x86_64 0:2.17-157.el7_3.1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-157.el7_3.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-157.el7_3.1.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-157.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-157.el7_3.1 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-514.16.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package               Arch          Version                      Repository      Size
=======================================================================================
Installing:
 gcc                   x86_64        4.8.5-11.el7                 base            16 M
Installing for dependencies:
 cpp                   x86_64        4.8.5-11.el7                 base           5.9 M
 glibc-devel           x86_64        2.17-157.el7_3.1             updates        1.1 M
 glibc-headers         x86_64        2.17-157.el7_3.1             updates        668 k
 kernel-headers        x86_64        3.10.0-514.16.1.el7          updates        4.8 M
 libmpc                x86_64        1.0.1-3.el7                  base            51 k
 mpfr                  x86_64        3.1.1-4.el7                  base           203 k
Updating for dependencies:
 glibc                 x86_64        2.17-157.el7_3.1             updates        3.6 M
 glibc-common          x86_64        2.17-157.el7_3.1             updates         11 M

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

Total download size: 44 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.


Error downloading packages:
  glibc-common-2.17-157.el7_3.1.x86_64: [Errno 5] [Errno 2] No such file or directory
  glibc-headers-2.17-157.el7_3.1.x86_64: [Errno 5] [Errno 2] No such file or directory
  libmpc-1.0.1-3.el7.x86_64: [Errno 5] [Errno 2] No such file or directory
  glibc-2.17-157.el7_3.1.x86_64: [Errno 5] [Errno 2] No such file or directory
  kernel-headers-3.10.0-514.16.1.el7.x86_64: [Errno 5] [Errno 2] No such file or directory
  mpfr-3.1.1-4.el7.x86_64: [Errno 5] [Errno 2] No such file or directory
  gcc-4.8.5-11.el7.x86_64: [Errno 5] [Errno 2] No such file or directory
  cpp-4.8.5-11.el7.x86_64: [Errno 5] [Errno 2] No such file or directory
  glibc-devel-2.17-157.el7_3.1.x86_64: [Errno 5] [Errno 2] No such file or directory
 

加载中
0
JackChang
JackChang

先执行下 yum update -y 更新下系统试试

0
当朝宰相
当朝宰相

升级下内核吧, yum update

返回顶部
顶部