subprocess installed post-installation script returned error exit status 2

So I’ve been having some issues since I installed the icaclient Citrix Receiver from citrix.com for my (now) Ubuntu 13.04 installation which I’ve posted about earlier.

The error-messages were as following:

This error came every time I did apt-get upgrade, but everything worked as it should except for the annoyance every time I updated.

I finally got around to try and fix it today, and thanks to some nice people on the freenode irc network I found this forum-post.

Following Alan Burton-Woods post on the forum

Open /var/lib/dpkg/info/icaclient.postinst with gksu gedit /var/lib/dpkg/info/icaclient.postinst
Find and replace the line that says

with

NB: Note the -E after grep

Run sudo dpkg –configure icaclient

Now, run sudo apt-get upgrade and this should be the output:

Be the first to comment

Leave a Reply