Portal Home > Knowledgebase > VMware Knowledge Base > ESX Server 3.0.3: Patch Installation Fails if Directory Name Contains Spaces

ESX Server 3.0.3: Patch Installation Fails if Directory Name Contains Spaces

Details

Summary

Installation of ESX Server 3.0.x patch fails with an error message when the parent directory name contains spaces in them.  

Symptom  

When installing ESX Server 3.0.x patches, if the parent directory contains spaces (for example, 30x all ), the installation fails with the following error message: 
INFO: No repository URL specified, going with file:/root/302 all/ESX-1002975
DEBUG: Lock file /var/run/esxupdate.pid created with PID 1385
DEBUG: Options {'url': 'file:/root/302 all/ESX-1002975', 'verbosity': 10, 'enableRollback': 0} Command update
DEBUG: Entering [ 15:40:04 01/17/08] [ConfigState ]
INFO: Configuring...
DEBUG: Attempting to retrieve descriptor.xml from [file:/root/302 all/ESX-1002975/]
DEBUG: rpms created = 3 for tag='rpmlist'
DEBUG: Host version [3.0.2] release [52542]
DEBUG: LogCommand(grep vmware-vmx /proc/vmware/sched/cpu)
DEBUG: Configure yum.conf to use repositories
DEBUG: Saving descriptor to file /etc/vmware/patchdb/ESX-1002975.xml
DEBUG: Adding entry with key [/current]
DEBUG: Entering [ 15:40:04 01/17/08] [PrepState ]
INFO: Preparing to install VMware ESX Server ESX-1002975...
DEBUG: Prepare pending package list...
DEBUG: Matching package name 2 and NAVR 0
DEBUG: LogCommand(yum info)
ERROR: Error (1) executing [yum info]
using ftp, http[s], or file for servers, Aborting - all/ESX-1002975
DEBUG: Saving descriptor to file /etc/vmware/patchdb/ESX-1002975.xml
DEBUG: Adding entry with key [/current]
DEBUG: Entering [ 15:40:05 01/17/08] [PrepFailed ]
DEBUG: Install cleanup...
DEBUG: LogCommand(rm -f /etc/vmware/esx.conf.WRITELOCK)
DEBUG: LogCommand(rm -f /var/lib/rpm/__db*)
DEBUG: Lock file /var/run/esxupdate.pid deleted
DEBUG: Final state: PrepFailed

Solution

To work around this issue, ensure that the name of the parent directory contains no spaces. If the directory name contains two or more words, the words can be seperated by underscores.

Based on VMware KB 1006164

Also Read

Language: