Hi, may be this comment comes too late, but anyway. I faced the same issue on Precise Pangolin (12.04 LTS), i fixed by
apt-get remove im-switch --purge && apt-get install language-selector- gnome im-switch ubuntu-desktop No more error messages on dpkg! Hope this helps... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/776540 Title: package im-switch 1.20ubuntu3 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/im-switch/+bug/776540/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs