How I got Citrix Workspace working on Groovy Gorilla (Ubuntu 20.10) on Raspberry Pi 400
At first installing Citrix on Ubuntu may seem like a no brainer, but because how Ubuntu and Citrix have packaged software for Raspberry Pi, it is pain in the neck to get it working correctly.
What is the issue?
When I installed Ubuntu on Raspberry Pi hardware, the only package available for Pi 4/400 was 64 bit, but Citrix has only ARMHF packages for raspberry Pi which is 32 bit. Technically 32 bit package should work on 64 bit architecture without a fuss, but for whatever reason Citrix package checks if package to be installed matches OS bit level. Attempting to install the package as well as subsequent system updates report failure. More over Software Center can't install or remove software complaining broken packages on the system. First let me tell you how I installed Citrix then will go on fixing issue.
Prepare system for Citrix installation
- Check system architecture using dpkg --print-architecture command
For me it reported arm64. - As Citrix is available only for armhf, I added support for armhf using command sudo dpkg --add-architecture armhf.
- Now checking available architectures I see armhf is reported as foreign architecture, sweet!
- For new architecture to take effect, updated packages using sudo apt update and sudo apt upgrade.
Now system is ready to accept armhf packages.
Install Citrix Workspace
- Downloaded workspace app from https://www.citrix.com/downloads/workspace-app/
- Installed deb package using sudo dpkg -i icaclient_20.10.0.6_armhf.deb.
- Installation reported missing packages. I got these corrected using sudo apt --fix-missing update and sudo apt --fix-broken install.
- Linked certificates from Mozilla to Citrix client using sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts
At this point I have a functional Citrix workspace but every sudo apt upgrade is reporting icaclient is partially configured package and attempts to configure it and fail. Super annoying!
Fix Citrix Workspace post installation script
As issue is reported in post-installation script I decided to look in what the script is attempting to do and is failing.
- Opened the script /var/lib/dpkg/info/icaclient.postinst in editor.
- After a bit of reading through and running script with debug lines found script is failing to find suitable GStreamer package.
- Script is looking for hardware info using uname -m which Ubuntu reports as aarch64 but GStreamer libraries installed for armhf are 32 bit. Script decided not to use libraries.
- As I already installed armhf architecture, I see no risk forcing script to assume 32 bit architecture.
- Now the GStreamer library issue is resolved, but post install script is still failing.
- This time I see it is finding the machine architecture based on which it is decideing to clear cache folders. Once again uname -m is used, which is reporting aarch64 and script is looking for armhf. Updated script to use armhf configuration even when uname is reporting aarch 64. I know, it is not right way of fixing this issue, but knowing I have armhf architecture support installed I see no issue forcing to use it.
P.S. I saw some blogs fiddling with Kernel to fake architecture as armhf to get armhf packages installed without updating installer, but for one package I am not willing to compromising on everything else.
References:






Harrah's Cherokee Casino & Hotel - MapYRO
ReplyDeleteFind sol.edu.kg your way around the herzamanindir.com/ casino, find where everything is located with the most up-to-date information about communitykhabar Harrah's Cherokee Casino 메이피로출장마사지 & Hotel in Cherokee, febcasino NC.
Citrix Workspace can be installed on Ubuntu 20.10 (Groovy Gorilla) running on Raspberry Pi 400, but the process can be complicated because Ubuntu and Citrix provide packages for different Raspberry Pi architectures. Ubuntu on the Raspberry Pi 4/400 uses a 64-bit arm64 architecture, while the available Citrix package for Raspberry Pi is armhf, which is 32-bit.
ReplyDeleteThe first step is to check the system architecture using dpkg --print-architecture. If the system reports arm64, support for the armhf foreign architecture can be added using sudo dpkg --add-architecture armhf. After adding the architecture, the available architectures can be checked again to confirm that armhf has been added successfully. IoT Projects for Final Year
Once armhf support has been added, the package information should be refreshed using sudo apt update, followed by sudo apt upgrade. This prepares the Ubuntu system to work with packages built for the additional architecture and provides the foundation for installing the Citrix Workspace package.
ReplyDeleteThe architecture mismatch can otherwise cause package installation and subsequent system updates to fail, and the Ubuntu Software Center may report broken packages. Adding armhf as a foreign architecture provides a way to accommodate the Citrix package on the 64-bit Raspberry Pi environment. Project Domains for ECE