I tried to installed icaclient (a remote desktop application), and it failed to install for some reason. The problem is that now whenever I try to install a new application with apt-get, I get this message even of the installation succeeded:
Errors were encountered while processing:
icaclient:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Although applications do get installed correctly, but the message is really annoying, and it could potentially hide other errors.
IMHO
icaclient
isn't installed properly. If it doesn't break any dependency, try to uninstall it first withaptitude remove icaclient:i386
. Also always force yourself to useaptitude
instead ofapt-get
. It's way more "smart".Have a look at this page
Try this
cd /var/lib/dpkg/info
sudo rm icaclient:i386.*
sudo dpkg --remove --force-remove-reinstreq icaclient:i386
Run
apt-get -f install
then
apt-get upgrade
and the try to install a new application.