Highlighted
Expert
Expert

centos 5.5 + upgrade issues

During our unattendant installation of centos 5, we install the vmware-tools using the vmware repo. In the packe section i specify

%packages

vmware-tools

But when i now wan't to upgrade the tools i get the following errors related to x86config, which is not installed on the system:

Traceback (most recent call last):
  File "/usr/lib/vmware-tools/install/vmware-open-vm-tools-xorg-drv-display/x-conf-rhel.py", line 6, in ?
    import xf86config
ImportError: No module named xf86config
error: %pre(vmware-open-vm-tools-xorg-drv-display-10.16.7.0-0.341836.el5.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping vmware-open-vm-tools-xorg-drv-display-10.16.7.0-0.341836.el5
Traceback (most recent call last):
  File "/usr/lib/vmware-tools/install/vmware-open-vm-tools-xorg-drv-mouse/x-conf-rhel.py", line 6, in ?
    import xf86config
ImportError: No module named xf86config
error: %pre(vmware-open-vm-tools-xorg-drv-mouse-12.6.4.0-0.341836.el5.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping vmware-open-vm-tools-xorg-drv-mouse-12.6.4.0-0.341836.el5
rm: cannot remove `/usr/lib/vmware-tools/libconf/etc/fonts/fonts.conf': No such file or directory
error: %pre(vmware-open-vm-tools-xorg-utilities-8.3.7-341836.el5.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping vmware-open-vm-tools-xorg-utilities-8.3.7-341836.el5
Traceback (most recent call last):
  File "/usr/lib/vmware-tools/install/vmware-open-vm-tools-xorg-drv-mouse/x-conf-rhel.py", line 6, in ?
    import xf86config
ImportError: No module named xf86config
Traceback (most recent call last):
  File "/usr/lib/vmware-tools/install/vmware-open-vm-tools-xorg-drv-display/x-conf-rhel.py", line 6, in ?
    import xf86config
ImportError: No module named xf86config

I know Centos isn't RHEL, but they are 100% identical, so i should work.

Or do i need to rebuild the Source RPM myself??

0 Kudos
2 Replies
Highlighted

Is X installed on the system, or is this a non-GUI installation? If X is not installed then use the non-X version of the tools (packages witn -nox) rather than the X versions. If you pull down the packages from http://packages.vmware.com/tools/esx/4.1latest/rhel5 then you can see "-nox" versions of both the 'open-vm-tools' and 'vmware-tools' packages...

0 Kudos
Highlighted
Expert
Expert

I forgot about the nox packages. I only have vmware-tools in the packages section.

I will fix that.

0 Kudos