Ubuntu – Dpkg reports error on package icaclient

citrixdpkgpackage-management

I installed the icaclient (it's a client for Citrix) a while back. I don't exactly remember what I did to get it working but it was enervating. I had to install some old packages not even avaiable for ubuntu (12.04) and in the end I used some stuff from old rpms.

Anyway the client is more or less working now but I always get a dpkg error when installing or updating something. The (translated) error message is something like:

dpkg: Error while processing icaclient:i386 (–configure): subprocess
installed post-installation-script return errorcode 2

I just want to tell dpkg to ignore this or remove this post-install-script but I don't know how.

Thanks!

Best Answer

First, please try the following in terminal:

sudo aptitude update
sudo aptitude -f install

If it does not work, then you may want to try:

sudo dpkg --force all --remove

If these are not helping you than I have bad news. There is no way to skip post-install scripts. The official Debian policy is to edit the script to return a non-terminal error, or fix the script.

Related Question