Installing VIB fails with the error: Unknown command or namespace software vib install
search cancel

Installing VIB fails with the error: Unknown command or namespace software vib install

book

Article ID: 305132

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Cannot install VIB files.
  • Installing VIB files fails.
  • You see the error:

    Unknown command or namespace software vib install

  • In the esxupdate.log file located at /var/log/, you see entries similar to:

<YYYY-MM-DD><time> esxupdate: downloader: DEBUG: Downloading from </time><vib file>...

<YYYY-MM-DD><time></time> esxupdate: root: ERROR: Traceback (most recent call last):
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 435, in <module>
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: main()
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 428, in main
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: ret = CMDTABLE[command](options)
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 337, in VibInstallCmd
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: checkacceptance=checkacceptance)
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: File "/build/mts/release/bora-469512/bora/build/esx/release/python-2.6-lib-zip-stage/469512/visor/pylib/python2.6/site-packages/vmware/esximage/Transaction.py", line 220, in InstallVibsFromSources
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: File "/build/mts/release/bora-469512/bora/build/esx/release/python-2.6-lib-zip-stage/469512/visor/pylib/python2.6/site-packages/vmware/esximage/Transaction.py", line 153, in GetVibsFromSources
<YYYY-MM-DD><time></time>
esxupdate: root: ERROR: File "/build/mts/release/bora-469512/bora/build/esx/release/python-2.6-lib-zip-stage/469512/visor/pylib/python2.6/site-packages/vmware/esximage/Transaction.py", line 259, in _getVibsFromUrls
<YYYY-MM-DD><time></time> esxupdate: root: ERROR: VibDownloadError: ('<vib file>', None, '(\'<vib file>\', \'\', "[Errno 4] IOError: <urlopen error [Errno 2] No such file or directory: \'/var/log/vmware/</span><vib file path>'>")')


Environment

VMware vSphere ESXi 5.0

Cause

This issue occurs if the VIB file path is invalid.

Resolution

To resolve the issue, ensure that the VIB file path is correct. If the installation still fails, move the VIB file to different location or to local storage.
Note: Ensure to provide the complete VIB file path when installing from local storage.

For Example:
  • esxcli software vib install -d /tmp/vib name
  • esxcli software vib install -v /tmp/vib name

For more information on installing VIB files, see Installing patches on an ESXi 5.x host from the command line (2008939).



Additional Information

“esxcli software vib” commands to patch an ESXi 5.x/6.x host
次のエラーで VIB のインストールに失敗する:Unknown command or namespace software vib install