首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何卸载vmware工具基础

如何卸载vmware工具基础
EN

Unix & Linux用户
提问于 2014-09-29 22:53:58
回答 2查看 7.9K关注 0票数 4

所以我对此有很多问题:

代码语言:javascript
复制
Warning: RPMDB altered outside of yum.
** Found 21 pre-existing rpmdb problem(s), 'yum check' output follows:
kmod-vmware-tools-vmci-9.5.13.0-2.6.32.71.el6.x86_64.5.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '8.6.0', None)
kmod-vmware-tools-vmxnet-2.0.15.0-2.6.32.71.el6.x86_64.5.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '8.6.0', None)
kmod-vmware-tools-vsock-9.5.6.0-2.6.32.71.el6.x86_64.5.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '8.6.0', None)
vmware-tools-core-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-esx-kmods-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-esx-nox-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-guestlib-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-libraries-nox-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-autoUpgrade-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-deployPkg-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-grabbitmqProxy-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-guestInfo-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-hgfsServer-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-powerOps-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-timeSync-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-vix-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-plugins-vmbackup-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-services-9.4.10-1.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '9.4.10', None)
vmware-tools-vmci-common-9.4.10-5.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '8.6.0', None)
vmware-tools-vmxnet-common-9.4.10-5.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '8.6.0', None)
vmware-tools-vsock-common-9.4.10-5.el6.x86_64 has missing requires of vmware-tools-foundation >= ('0', '8.6.0', None)

当我试图重新安装vmware-tools-foundation时

代码语言:javascript
复制
sudo yum reinstall vmware-tools-foundation
Loaded plugins: product-id, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
Setting up Reinstall Process
rhel-6-server-rpms                                                                                                                    | 3.7 kB     00:00     
No Match for argument: vmware-tools-foundation
Package(s) vmware-tools-foundation available, but not installed.
Error: Nothing to do

但是,当我尝试安装它时,我会收到以下消息:

代码语言:javascript
复制
Total download size: 211 k
Installed size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
vmware-tools-foundation-9.4.10-1.el6.x86_64.rpm                                                                                       | 211 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Error in PREIN scriptlet in rpm package vmware-tools-foundation-9.4.10-1.el6.x86_64

VMware Tools cannot install because it appears that another installation of
VMware Tools is already present. Please remove the previous installation and
then attempt to install this copy of VMware Tools again.

error: %pre(vmware-tools-foundation-0:9.4.10-1.el6.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping vmware-tools-foundation-0:9.4.10-1.el6
  Verifying  : vmware-tools-foundation-9.4.10-1.el6.x86_64                                                                                               1/1 

Failed:
  vmware-tools-foundation.x86_64 0:9.4.10-1.el6                                                                                                              

Complete!

我觉得我要在这里绕圈.有什么建议吗?

EN

回答 2

Unix & Linux用户

发布于 2014-10-16 16:54:19

我遇到了同样的问题,最后我找到了一个解决办法:

  1. 删除所有通过yum安装的vmware包,直到yum list installed | grep vmware显示什么都没有: yum列表已安装的vmware yum删除vmware-tools-guestlib.x86_64 yum删除vmware-.百胜移除kmod-vmware-...。
  2. 删除“找到vmware”找到的文件和文件夹。对我来说,它是: rm -rf /usr/lib/vmware-tools rm -rf /etc/vmware-tools rm /etc/init/vmware-tools.conf rm /etc/ld.so.con.d/vmware-tools--rf/vmware/etc/modprobe.d/vmware-tools.confrm rm /etc/dracut.con.d/vmware-tools.confrm -f /usr/bin/vmware-* rm -f /usr/sbin/ etcvmware-* rm -rf /usr/share/doc/vmware-*
  3. 安装vmware-tools-foundation作为第一个软件包: yum安装vmware-tools-foundation
  4. 最后: yum安装vmware-tools-esx-nox。
票数 3
EN

Unix & Linux用户

发布于 2015-01-08 09:18:48

  • 首先卸载所有vmware-tools-*包(可能是可选的,YMMV)
  • 然后是rm /etc/vmware-tools/locations (这就是PREIN脚本所寻找的)
  • 之后,您可以安装vmware-tools-foundation (以及工具包的其余部分)。
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/158308

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档