安装vmware-tools时出现Unable to find the answer LIBDIR in the installer database错误

在安装vmware-tools for linux时,如果是在安装没结束时通过[ctrl]+[c]的,当再次运行./vmware-install.pl想重新安装时就会出现如下的错误:

[root@node1 vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware software has been detected.

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

Keeping the tar3 installer database format.

Uninstalling the tar installation of VMware Tools.

Skipping VMware Tools services shutdown on the host: [ OK ]

Unable to find the answer LIBDIR in the installer database
(/etc/vmware-tools/locations). You may want to re-install VMware Tools.

Execution aborted.

Failure
Execution aborted.

解决方法:删除/etc/下的vmware-tools文件夹即可,如下:

rm -Rf /etc/vmware-tools

3 Comments

  1. ice-edge说道:

    哥,还是您厉害!我一直不知道怎么处理,结果都要放弃了,看了您这个帖子,一语中地,解决问题了。网上好多说不能重新安装和卸载打帖子,大家说的都不行啊。谢谢了

  2. yitian说道:

    大哥,是在感谢,就这么一个小问题,解决不容易啊。。。

  3. liangjin说道:

    立马解决了,找了好多帖子试了几次,终于可以了

Leave a Reply