VMware Horizon Community
mike987
Contributor
Contributor

uninstalling horizon client 5.5.2 fails

I have the horizont client 5.5.2 installed on a ubuntu 20.10.
After that I updated to ubuntu 21.04 and now again to 22.04.
When I now wanted to uninstall the horizon client the uninstallation fails.the log file shows the following error:

[2022-05-05 09:38:24,762]
[2022-05-05 09:38:24,762] Installer running.
[2022-05-05 09:38:24,762] Command Line Arguments:
[2022-05-05 09:38:24,762] ['/usr/lib/vmware-installer-horizon/2.1.0/vmware-installer.py', '-u', 'vmware-horizon-client']
[2022-05-05 09:38:24,855] Successfully loaded GTK libraries.
[2022-05-05 09:38:24,902] Using UI type gtk
[2022-05-05 09:38:24,904] System installer version is: 2.1.0.1379040
[2022-05-05 09:38:24,905] Running installer version is: 2.1.0.1379040
[2022-05-05 09:38:24,905] Opening database file /etc/vmware-installer-horizon/database
[2022-05-05 09:38:24,918] ITEMS: [(LongVersion('2.1.0.2040127'), (InstalledComponent) vmware-installer 2.1.0)]

etc...

[2022-05-05 09:38:25,077] ITEMS: [(LongVersion('2.1.0.2040127'), (InstalledComponent) vmware-installer 2.1.0)]
[2022-05-05 09:38:25,108] Could not locate installer App Control.
[2022-05-05 09:38:25,189] Opening database file /etc/vmware-installer-horizon/database
[2022-05-05 09:38:25,190] Top level exception handler
Traceback (most recent call last):
File "/usr/lib/vmware-installer-horizon/2.1.0/vmis/core/transaction.py", line 469, in RunThreadedTransaction
txn.Execute(actions)
File "/usr/lib/vmware-installer-horizon/2.1.0/vmis/core/transaction.py", line 231, in Execute
u.Load(self.temp) # Up to load to create the connection and set up a remote component.
File "/usr/lib/vmware-installer-horizon/2.1.0/vmis/core/install.py", line 118, in Load
self.component.installDir)
File "/usr/lib/vmware-installer-horizon/2.1.0/vmis/core/component.py", line 215, in _getInstallDir
return CONFDIR.joinpath('components').joinpath(self.name).joinpath(self.version)
File "/usr/lib/vmware-installer-horizon/2.1.0/vmis/core/files.py", line 97, in __getattr__
if func and isinstance(func, collections.Callable):
AttributeError: module 'collections' has no attribute 'Callable'
[2022-05-05 09:38:25,204] ITEMS: [(LongVersion('2.1.0.2040127'), (InstalledComponent) vmware-installer 2.1.0)]

does anyone have an idea?
Thanks

 

0 Kudos
2 Replies
mike987
Contributor
Contributor

sudo apt install python2

chmod +x VMware-Horizon-Client-2203-8.5.0-19586897.x64.bundle

sudo ./VMware-Horizon-Client-2203-8.5.0-19586897.x64.bundle

python2 --version

sudo apt purge python2.7-minimal

sudo apt autoremove

LeanTorres
Contributor
Contributor

Thanks!! It was useful to install Horizon Client on Ubuntu 20.04

0 Kudos