VMware Communities
praveenyuva
Contributor
Contributor

Could not able to install vmware pro in ubuntu

it show like this

 

Extracting VMware Installer...done.
Installing VMware VMX 16.2.4
Configuring...--- Logging error ---
Traceback (most recent call last):### ] 51%
File "/tmp/vmis.Jkl4sp/install/vmware-installer/python/lib/logging/__init__.py", line 1082, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'ascii' codec can't encode character '\u2018' in position 1094: ordinal not in range(128)
Call stack:
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmware-installer.py", line 694, in <module>
main(options)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmware-installer.py", line 536, in main
txn.Install(options.installComponent,
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/transaction.py", line 687, in Install
RunTransaction(actions, options)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/transaction.py", line 414, in RunTransaction
RunThreadedTransaction(txn, actions)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/transaction.py", line 472, in RunThreadedTransaction
txn.Run()
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/transaction.py", line 78, in Run
self.get()()
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/common.py", line 156, in Show
wrap(i.PostTransaction, txn.opts['ignoreErrors'])
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/util/__init__.py", line 26, in wrap
func(*args, **kwargs)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/install.py", line 308, in PostTransaction
self._installer.PostTransactionInstall(**self.args)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/remoteinstaller.py", line 94, in PostTransactionInstall
return self.MessageOut(self.whoami(), old, new, upgrade)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/remoteinstaller.py", line 387, in MessageOut
retval = vmispy.RunExternalMethod(self._remoteUID, 0, strio.getvalue().decode('latin-1'))
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/installer.py", line 122, in MessageIn
self.proxyObject.MessageIn(uid, str)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/remoteinstallerops.py", line 403, in MessageIn
ret = method(*args, **kwargs)
File "<string>", line 364, in PostTransactionInstall
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/installer.py", line 40, in Info
return self.installer.Log('info', *args, **kwargs)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/installer.py", line 335, in Log
return self.proxyObject.Log(logType, *args, **kwargs)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/remoteinstallerops.py", line 159, in Log
return self.MessageOut(self.whoami(), logType, *args, **kwargs)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/remoteinstallerops.py", line 485, in MessageOut
retval = vmispy.RunExternalMethod(0, self._UID, strio.getvalue().decode('latin-1'))
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/remoteinstaller.py", line 301, in MessageIn
ret = method(*args, **kwargs)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/installer.py", line 335, in Log
return self.proxyObject.Log(logType, *args, **kwargs)
File "/tmp/vmis.Jkl4sp/install/vmware-installer/vmis/core/localinstallerops.py", line 241, in Log
ltype(*args, **kwargs)
Message: 'stderr: [AppLoader] Use shipped Linux kernel AIO access library.\nAn up-to-date "libaio" or "libaio1" package from your system is preferred.\n[AppLoader] GLib does not have GSettings support.\nUsing kernel build system.\n/tmp/modconfig-1kDG7r/vmmon-only/common/crosspage.o: warning: objtool: CrossPage_CodePage()+0x1f7: \'naked\' return found in RETHUNK build\n/tmp/modconfig-1kDG7r/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()\n/tmp/modconfig-1kDG7r/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()\n/tmp/modconfig-1kDG7r/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()\n/tmp/modconfig-1kDG7r/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section\nSkipping BTF generation for /tmp/modconfig-1kDG7r/vmmon-only/vmmon.ko due to unavailability of vmlinux\nUsing kernel build system.\n/tmp/modconfig-1kDG7r/vmnet-only/hub.c:237:24: warning: argument 1 of type \u2018uint8[]\u2019 {aka \u2018unsigned char[]\u2019} with mismatched bound [-Warray-parameter=]\n 237 | VNetHub_AllocPvn(uint8 id[]) // IN: the PVN ID to alloc on\n | ~~~~~~^~~~\nIn file included from /tmp/modconfig-1kDG7r/vmnet-only/hub.c:43:\n/tmp/modconfig-1kDG7r/vmnet-only/vnetInt.h:173:34: note: previously declared as \u2018uint8[20]\u2019 {aka \u2018unsigned char[20]\u2019}\n 173 | VNetJack *VNetHub_AllocPvn(uint8 id[VNET_PVN_ID_LEN]);\n | ~~~~~~^~~~~~~~~~~~~~~~~~~\n/tmp/modconfig-1kDG7r/vmnet-only/hub.c:261:20: warning: argument 3 of type \u2018uint8[]\u2019 {aka \u2018unsigned char[]\u2019} with mismatched bound [-Warray-parameter=]\n 261 | uint8 id[]) // IN: PVN ID to use (NULL if allocPvn == FALSE)\n | ~~~~~~^~~~\n/tmp/modconfig-1kDG7r/vmnet-only/hub.c:68:37: note: previously declared as \u2018uint8[20]\u2019 {aka \u2018unsigned char[20]\u2019}\n 68 | uint8 id[VNET_PVN_ID_LEN]);\n | ~~~~~~^~~~~~~~~~~~~~~~~~~\n/tmp/modconfig-1kDG7r/vmnet-only/driver.c: In function \u2018VNetFileOpUnlockedIoctl\u2019:\n/tmp/modconfig-1kDG7r/vmnet-only/driver.c:966:7: warning: this statement may fall through [-Wimplicit-fallthrough=]\n 966 | {\n | ^\n/tmp/modconfig-1kDG7r/vmnet-only/driver.c:976:4: note: here\n 976 | case SIOCGETAPIVERSION:\n | ^~~~\nSkipping BTF generation for /tmp/modconfig-1kDG7r/vmnet-only/vmnet.ko due to unavailability of vmlinux\nUnable to start services\n'
Rolling back VMware Tools for Windows Vista or later 11.3.5
Deconfiguring...
Uninstalling VMware Installer 3.0.0
Deconfiguring...
[######################################################################] 100%
Installation was unsuccessful.

0 Kudos
2 Replies
scott28tt
VMware Employee
VMware Employee

Your post needs moving to the correct area, so I have reported it to the moderators.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
jzaitseff
Contributor
Contributor

The solution I found (by trial and error) was to make sure that the locale was "C", not something with ".UTF-8".

I modified the files /etc/default/locale so that LANG=C, temporarily removed the file /etc/profile.d/01-locale-fix.sh and modified my custom bash.bashrc (which had set LANG and LC_ALL -- now both set to "C").  Log out then log back in (reboot if you're paranoid), run the installation, then revert all modifications to make sure you have a correctly working system.  Then log out and log back in yet again to pick up the original settings to locale.

You can check your locale by running "locale".  There should be no mention of UTF-8 anywhere.

Yes, this is a VMware bug!

0 Kudos