卸载 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系统,重新安装了新的版本。然后就可以了。

你可能感兴趣的:(linux,通信知识,c++11并发与多线程)