For a new project we need to build Linux workstations with Debian. One of the wishes is to have a Citrix Receiver installed, so we created a nice install script, but the EULA agreement is not very helpful in an unattended install.

echo "icaclient icaclient/accepteula boolean true" | debconf-set-selections dpkg -i /tmp/icaclient_12.0.0_amd64.deb

This was found by doing the following:

cd /tmp dpkg-deb -x icaclient_12.0.0_amd64.deb extract/ dpkg-deb -e icaclient_12.0.0_amd64.deb extract/DEBIAN

Have a look at the contents of the extract/DEBIAN/config file and you’ll find out.

It took me quite some time to figure this one out, so I thought let’s share.