关于VM重装VMware Toos出现问题的解决方案

今天突然发现Ubuntu下的共享文件夹消失了,但是WIN里面的文件夹还是在的,于是想重装VMware Toos结果发现提示错误
错误提示如下,大意是无法卸载,卸载错误导致无法继续进行

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed.  Continuing this install will 
first uninstall the currently installed version.  Do you wish to continue? 
(yes/no) [yes] 

INPUT: [yes]  default

Error: Unable to execute "/usr/bin/vmware-uninstall-tools.pl.

Uninstall failed.  Please correct the failure and re run the install.

Execution aborted.

解决方案如下:
先将WMWare Tools 中的压缩包解压到桌面然后打开文件夹,

root@ubuntu:/home/yu/桌面# cd vmware-tools-distrib
root@ubuntu:/home/yu/桌面/vmware-tools-distrib# cd bin
yu@ubuntu:~/桌面/vmware-tools-distrib/bin$ ls
vm-support  vmware-config-tools.pl  vmware-uninstall-tools.pl
yu@ubuntu:~/桌面/vmware-tools-distrib/bin$ sudo su
root@ubuntu:/home/yu/桌面/vmware-tools-distrib/bin# sudo ./vmware-uninstall-tools.pl
//等待卸载完毕,一路回车
root@ubuntu:/home/yu/桌面/vmware-tools-distrib/bin# cd -
/home/yu/桌面/vmware-tools-distrib
root@ubuntu:/home/yu/桌面/vmware-tools-distrib# sudo ./vmware-install.pl//重新安装
//等待安装完毕即可

作此记录,避免日后遗忘

VM中Linux共享文件夹设置
安装VMware Tools选项显示灰色的正确解决办法

你可能感兴趣的:(关于VM重装VMware Toos出现问题的解决方案)