Package Contents

Unpack the contents of these packages with:

apprentice@packagehost:~/packaging/citrix-icaclient/wip$ for P in $(ls -1) ; do D=$(basename ${P} .deb) ; mkdir -p $D/debian && dpkg -x ${P} ${D} && dpkg -e ${P} ${D}/debian ; done
apprentice@packagehost:~/packaging/citrix-icaclient/wip$ ls -trl
total 24416
drwxr-xr-x 6 jurjen jurjen    4096 apr 13  2012 icaclient-12.1.0_i386
drwxr-xr-x 6 jurjen jurjen    4096 apr 13  2012 icaclient_12.1.0_amd64
drwxr-xr-x 6 jurjen jurjen    4096 jul  9 00:28 icaclient_12.9.999.244295_i386
drwxr-xr-x 6 jurjen jurjen    4096 jul  9 00:29 icaclient_12.9.999.244295_amd64
-rw-r--r-- 1 jurjen jurjen 8900766 nov  4 14:01 icaclient_12.9.999.244295_i386.deb
-rw-r--r-- 1 jurjen jurjen 8900610 nov  4 14:01 icaclient_12.9.999.244295_amd64.deb
-rw-r--r-- 1 jurjen jurjen 3565530 nov  4 14:01 icaclient_12.1.0_amd64.deb
-rw-r--r-- 1 jurjen jurjen 3565566 nov  4 14:01 icaclient-12.1.0_i386.deb

As we see there are both amd64 and i386 packages, but comparing them with diff -r --exclude debian icaclient_12.1.0_amd64 icaclient-12.1.0_i386, we must conclude that only the changelogs differ. Do a find icaclient_12.1.0_amd64 -type f -exec file {} \;|grep ELF|grep '64-bit', and conclude that in the 64-bit package, there are only actually three 64-bit ELF executables, all of which are also in the 32-bit package, and none of which is the client executable itself. The same goes m.m. for the 12.9.999 directories.

It would seem that Citrix is trying to ease installation of a 32-bit package on 64-bit systems here? But IMO they are causing more pain than profit doing it this way. If you were to install a 64-bit package containing 32-bit libraries, apt is going to believe that the 64-bit version of all dependencies needs to be fetched too. None of these will work, so you'll have to manually install ia32-libs and a couple of other 32-bit packages. With the current features of multiarch, there is no way to state that the dependencies are 32-bit. So stick with the 32-bit package!

(Note that this doesn't work on Lucid, which doesn't have multiarch. But as far as I've heard, the Citrix package doesn't work well on Lucid anyway.