Installation Errors with Receiver for Linux 13.0 on Ubuntu 13.10 x64

Installation Errors with Receiver for Linux 13.0 on Ubuntu 13.10 x64

book

Article ID: CTX139854

calendar_today

Updated On:

Description

The following errors appear when attempting to install Receiver for Linux 13.0 x64 on Ubuntu 13.10x64.

Dependency problems prevent configuration of icaclient:

  • icaclient depends on libc6-i386 (>= 2.7-1)

  • icaclient depends on ia32-libs; however:
    Package ia32-libs is not installed.

  • icaclient depends on lib32z1; however:
    Package lib32z1 is not installed.

  • icaclient depends on lib32asound2; however:
    Package lib32asound2 is not installed.

  • icaclient depends on nspluginwrapper; however:
    Package nspluginwrapper is not installed.

Resolution

The following resolution allows using Receiver for Web for authentication, enumeration and launch of the applications and desktops, as the aforementioned bug causes self-service UI to not work.

Important: Edit a file on linux using vi; with the following command:
user@Ubuntu-13:~$ sudo vi /var/lib/dpkg/info/icaclient.postinst
Enter interactive mode by hitting the “i” key, then after making the change you need to write and quit vi by hitting the esc key and invoking the following to write and quit the file :wq!
  1. Install the dependencies libmotif4:i386 nspluginwrapper lib32z1 libc6-i386 by executing the following command:
    sudo apt-get install libmotif4:i386 nspluginwrapper lib32z1 libc6-i386

  2. Get the official Citrix Receiver 13.0 .deb from Citrix Downloads.

    Note: Download from "For 64-bit Systems" section. The download popup may not work in Chrome, use Firefox.
  3. Fix the broken .deb package.
    You can fix it using the following commands:

    cd ~/Downloads
    mkdir ica_temp
    dpkg-deb -x icaclient_13.0.0.256735_amd64.deb ica_temp
    dpkg-deb --control icaclient_13.0.0.256735_amd64.deb ica_temp/DEBIAN
    sudo vi ica_temp/DEBIAN/control
    Change the line that starts with "Depends: ..." to:
    Depends: libc6-i386 (>= 2.7-1), lib32z1, nspluginwrapper
    Now rebuild the package: dpkg -b ica_temp icaclient-modified.deb
  4. Install the fixed package:
    sudo dpkg -i icaclient-modified.deb

    This installation may throw the following error:

    dpkg: error processing icaclient (--install):
    subprocess installed post-installation script returned error exit status 2
    Errors were encountered while processing icaclient

    This can be resolved by changing line 2648 in /var/lib/dpkg/info/icaclient.postinst from echo $Arch|grep "i[0-9]86" >/dev/null to echo $Arch|grep -E "i[0-9]86|x86_64" >/dev/null.
    Then restart the post-install sudo dpkg --configure icaclient.
  5. Add more SSL certificates.
    Some sites can give an SSL error. Firefox has many more certificates than Citrix, so add them.
    For example, sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/


Problem Cause

This issue occurs due to the “multi-arch” bug problem (Ubuntu Bug #1185771). 

Issue/Introduction

This article provides resolution to the installation errors with Receiver for Linux 13.0 on Ubuntu 13.10 x64