This is happening to me in Ubuntu 12.04, during a regular upgrade since I installed monodevelop (aldough it may be an update performed this same day).
I guess the key is "/etc/X11/xinit/xinput.d/default doesn't exist." Does it make any sense to "touch" it , and then retry the upgrade? will this break anything, or will it work? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to im-switch in Ubuntu. https://bugs.launchpad.net/bugs/838934 Title: package im-switch 1.20ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 Status in “im-switch” package in Ubuntu: Confirmed Bug description: Upgrade from 11.04 failed with im-switch unable to be upgraded (or installed). Keep getting issues afterward. ProblemType: Package DistroRelease: Ubuntu 11.10 Package: im-switch 1.20ubuntu5 ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3 Uname: Linux 3.0.0-9-generic x86_64 AptOrdering: flashplugin-installer: Remove im-switch: Configure ibus: Configure ibus-pinyin: Configure ibus-table: Configure Architecture: amd64 Date: Thu Sep 1 11:24:55 2011 Dependencies: DpkgHistoryLog: Start-Date: 2011-09-01 11:24:37 Commandline: aptdaemon role='role-remove-packages' sender=':1.107' Remove: flashplugin-installer:amd64 (10.3.183.7ubuntu1) DpkgTerminalLog: Removing flashplugin-installer ... Setting up im-switch (1.20ubuntu5) ... update-alternatives: error: alternative path /etc/X11/xinit/xinput.d/default doesn't exist. dpkg: error processing im-switch (--configure): subprocess installed post-installation script returned error exit status 2 DuplicateSignature: Setting up im-switch (1.20ubuntu5) ... update-alternatives: error: alternative path /etc/X11/xinit/xinput.d/default doesn't exist. dpkg: error processing im-switch (--configure): subprocess installed post-installation script returned error exit status 2 ErrorMessage: subprocess installed post-installation script returned error exit status 2 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) PackageArchitecture: all SourcePackage: im-switch Title: package im-switch 1.20ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 UpgradeStatus: Upgraded to oneiric on 2011-09-01 (0 days ago) modified.conffile..etc.X11.xinit.xinput.d.default: [deleted] modified.conffile..etc.X11.xinit.xinput.d.default.xim: [deleted] modified.conffile..etc.X11.xinit.xinput.d.lo.gtk: [deleted] modified.conffile..etc.X11.xinit.xinput.d.none: [deleted] modified.conffile..etc.X11.xinit.xinput.d.th.gtk: [deleted] modified.conffile..etc.X11.xinit.xinput.d.th.xim: [deleted] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/im-switch/+bug/838934/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp