Ubuntu – Cannot install icaclient due to problem with ia32-libs

64-bitaptdependencies

Finally, Citrix released a new version and Ubuntu updated their guide HERE (apparently, it were the dependecy changes as we found out). It should work now kind of out of the box.


I have a problem installing the package icaclient on 13.10 Saucy Salamander 64bit. It seems that there is a problem with ia32-libs and other dependencies.

 marc@PinballWizard:~$ sudo dpkg -i Downloads/icaclient_12.1.0_amd64.deb
 [sudo] password for marc: 
 Selecting previously unselected package icaclient.
 (Reading database ... 179461 files and directories currently installed.)
 Unpacking icaclient (from .../icaclient_12.1.0_amd64.deb) ...
 dpkg: dependency problems prevent configuration of icaclient:
  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.

 dpkg: error processing icaclient (--install):
  dependency problems - leaving unconfigured
 Errors were encountered while processing:
  icaclient

Hence, other workarounds seem not to work. I followed the instructions here – and for the last two Ubuntu releases it was surely no problem.

When I try to install ia32-libs I get the following issue:

marc@PinballWizard:~$ sudo apt-get install ia32-libs 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package 'ia32-libs' has no installation candidate

Is there any possibility to install icaclient?

The sources.list is here.

Best Answer

There is a way under 13.10 brought to us by dark_harmonics on ubuntuforums (last post) - I just quote him here:

Just to document this process so that when i google this problem i come across the compiled solution to this:

  1. Download citrix deb file from www.citrix.com. I used the new customer preview 12.9.999
  2. Open a terminal and change to the directory where the deb file is located
  3. Run the following commands

    mkdir ica_temp
    dpkg-deb -x icaclient-<tab> ica_temp
    dpkg-deb --control icaclient-<tab> ica_temp/DEBIAN
    sudo gedit ica_temp/DEBIAN/control
    
  4. Change the dependencies to be "Depends: libc6-i386 (>= 2.7-1), lib32z1, nspluginwrapper"

  5. Save and close the file

  6. Compile and install the deb file

    dpkg -b ica_temp icaclient-modified.deb
    sudo dpkg -i icaclient-modified.deb
    
  7. Cleanup with

    rm -r ica_temp
    

I also needed to run sudo apt-get install -f to install the dependencies I was still missing.

BTW: Customer Preview did not work for me, I used the official version.