May be try reinstalling and then uninstall again coz I'm not sure whats happening sudo apt-get --reinstall install psswitcher then sudo dpkg -r psswitcher
Nokia-N900:~# apt-get remove psswitcher Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: psswitcher 0 upgraded, 0 newly installed, 1 to remove and 10 not upgraded. 1 not fully installed or removed. After this operation, 156kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 35211 files and directories currently installed.) Removing psswitcher ... dpkg: error processing psswitcher (--remove): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: psswitcher E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~# apt-get --reinstall install psswitcher Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 10 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up psswitcher (0.2-3) ... cp: cannot stat '/tmp/psswitcherd': No such file or directory dpkg: error processing psswitcher (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: psswitcher E: Sub-process /usr/bin/dpkg returned an error code (1)