esxcli software profile update -d "/vmfs/volumes/68cb1336-cb11ae6c-fe90-ecf40c01cb2a/VMware-ESXi-7.0U3w-24784741-depot.zip" -p ESXi-7.0U3w-24784741-standardError in purging old directory: [Errno 39] Directory not empty: '/locker/packages/var/db/locker/baseimages' filename = /locker/packages/var/db/lockerrm -rf baseimages) the folder failed with the error: “Can't remove 'baseimages': Directory not empty”VMware vSphere ESXi
Rename the existing folder
mv baseimages baseimages.old
Create a new empty directory with the same name
mkdir baseimages
Re-run the ESXi installer