重庆思庄Oracle、Redhat认证学习论坛
标题: CentOS 7.6安装vmware tools遇到The path "" is not a valid... [打印本页]
作者: denglj 时间: 2021-11-26 20:52
标题: CentOS 7.6安装vmware tools遇到The path "" is not a valid...
CentOS 7.6安装vmware tools执行以下语句时
[root@dbserver vmware-tools-distrib]#./vmware-install.pl
安装过程中遇到提示The path "" is not a valid path to the 3.10.0-957.el7.x86_64 kernelheaders.
解决方案:
a、ctrl+z停止安装
b、安装kernel-devel
[root@dbserver vmware-tools-distrib]# yum -y installkernel-devel-$(uname -r)
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_640:3.10.0-957.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================
Package Arch Version Repository Size
==========================================================================================================
Installing:
kernel-devel x86_64 3.10.0-957.el7 centos7.6 17 M
Transaction Summary
==========================================================================================================
Install 1 Package
Total download size: 17 M
Installed size: 37 M
Downloading packages:
Error downloading packages:
kernel-devel-3.10.0-957.el7.x86_64: [Errno 256] No more mirrors to try.
[root@dbserver vmware-tools-distrib]# yum-y install kernel-devel-$(uname -r)
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_640:3.10.0-957.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================
Package Arch Version Repository Size
====================================================================================================================
Installing:
kernel-devel x86_64 3.10.0-957.el7 centos7.6 17 M
Transaction Summary
====================================================================================================================
Install 1 Package
Total download size: 17 M
Installed size: 37 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-devel-3.10.0-957.el7.x86_64 1/1
Verifying :kernel-devel-3.10.0-957.el7.x86_64 1/1
Installed:
kernel-devel.x86_64 0:3.10.0-957.el7
Complete!
c、重新运行./vmware-install.pl
此后一路回车就能安装成功.
欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) |
Powered by Discuz! X3.2 |