The following NEW packages will be installed: courier-authlib The following packages will be upgraded: courier-authdaemon 1 packages upgraded, 1 newly installed, 2 to remove and 57 not upgraded. Need to get 0B/83.9kB of archives. After unpacking 14.0MB will be freed. Do you want to continue? [Y/n/?] Y Writing extended state information... Done dpkg: error processing courier-authdaemon (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid Aborted daniel@www:~$ Errors were encountered while processing: courier-authdaemon