卸载 vmware-tools.pl和安装 vmware-tools.pl失败了,谁能解?

v2x@ubuntu:~/Desktop/vmware-tools-distrib$ ls
bin  caf  doc  etc  FILES  INSTALL  installer  lib  vgauth  vmware-install.pl
v2x@ubuntu:~/Desktop/vmware-tools-distrib$ cd bin
v2x@ubuntu:~/Desktop/vmware-tools-distrib/bin$ ls
vm-support  vmware-config-tools.pl  vmware-uninstall-tools.pl
v2x@ubuntu:~/Desktop/vmware-tools-distrib/bin$ sudo ./vmware-uninstall-tools.pl

[sudo] password for v2x: 
Uninstalling the tar installation of VMware Tools.

Unable to find the tar installer database file (/etc/vmware-tools/locations)

Execution aborted.

v2x@ubuntu:~/Desktop/vmware-tools-distrib/bin$ 
v2x@ubuntu:~/Desktop/vmware-tools-distrib/bin$ cd ..
v2x@ubuntu:~/Desktop/vmware-tools-distrib$ ls
bin  caf  doc  etc  FILES  INSTALL  installer  lib  vgauth  vmware-install.pl
v2x@ubuntu:~/Desktop/vmware-tools-distrib$ sudo ./vmware-install.pl 
The installer has detected an existing installation of open-vm-tools packages 
on this system and will not attempt to remove and replace these user-space 
applications. It is recommended to use the open-vm-tools packages provided by 
the operating system. If you do not want to use the existing installation of 
open-vm-tools packages and use VMware Tools, you must uninstall the 
open-vm-tools packages and re-run this installer.
The packages that need to be removed are:
open-vm-dkms
open-vm-tools
Packages must be removed with the --purge option.
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes] 

INPUT: [yes]  default

For kernels >= 4.0.0, the open-vm-tools packages need to be of version 10.0.0 
or higher for VMware Host Guest Filessystem (vmhgfs) to function with VMware 
Tools. Please upgrade open-vm-tools packages and rerun this installer, or 
uninstall open-vm-tools packages. Alternatively, you can disable using vmhgfs 
when VMware Tools are configured.

Enter yes to proceed. [no] 

INPUT: [no]  default

Execution aborted.

v2x@ubuntu:~/Desktop/vmware-tools-distrib$ 
 

最后我卸载了虚拟机的ubuntu系统,重新安装了新的版本。然后就可以了。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

aFakeProgramer

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值