2012
07.22

I recently installed citrix receiver on Ubuntu 12.04 64bit and receiver the following error:
URL: http://www.citrix.com/English/ss/downloads/results.asp?productID=1689163

Unpacking icaclient (from .../icaclient_12.1.0_amd64.deb) ...
Setting up icaclient (12.1.0) ...
dpkg: error processing icaclient (--install):
subprocess installed post-installation script returned error exit status 2
Processing triggers for menu ...
Errors were encountered while processing:

In order to resolve this error and complete the install, I followed the steps below straight from the citrix forum post here:
http://forums.citrix.com/thread.jspa?threadID=306353&tstart=0

sudo nano /var/lib/dpkg/info/icaclient.postinst

Replace the line that says:
echo $Arch|grep "i[0-9]86" >/dev/null with
echo $Arch|grep -E "i[0-9]86|x86_64" >/dev/null

Once I had successfully installed the citrix xenapp receiver client I was then ready to run my apps. Unfortunately, I then received the following error:

I have been playing around with ssl security certificates quite a bit recently and I was able to quickly find out where citrix stores it’s trusted certificates from the following forum post: http://forums.citrix.com/thread.jspa?threadID=296396 I saved a copy of my ssl certificate to /opt/Citrix/ICAClient/keystore/cacerts and everything then worked as expected.

Note, after a bit of further reading, it seems a lot of people use the following command to create a symbolic link to their browsers trusted certificate repository which seems a much better way of managing your citrix receiver trusted certificates.

sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts

UPDATE: Once I had successfully completed installing the citrix receiver app on my pc and had tested that all was working ok, I noticed that I would still receive the following error  every time after running any updates:

Setting up icaclient (12.1.0) ...
dpkg: error processing icaclient (--configure):
subprocess installed post-installation script returned error exit status 2
E: Sub-process /usr/bin/dpkg returned an error code (1)

To remove this annoying message you can simply edit the following file: /var/lib/dpkg/status Search for the line that contains “Package: icaclient” and  change the status from: “install ok half-configured” to “install ok installed”

2 comments so far

Add Your Comment
  1. Instead of changing the status file, you had to run:
    sudo apt-get install -f
    and it would have fixed your problem.

  2. Works perfect, 5th site to try, yours had the complete fix. thanks!