32 pieterjan@ubuntuX $ LC_ALL=C sudo apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies... Done The following extra packages will be installed: courier-authdaemon courier-authlib The following NEW packages will be installed: courier-authlib The following packages will be upgraded: courier-authdaemon 1 upgraded, 1 newly installed, 0 to remove and 493 not upgraded. 1 not fully installed or removed. Need to get 0B/83.9kB of archives. After unpacking 164kB of additional disk space will be used. Do you want to continue [Y/n]? 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 33 pieterjan@ubuntuX $ Errors were encountered while processing: courier-authdaemon