lutra@lutra-laptop:~$ sudo apt-get remove --purge libexo-0.3-0 thunar libthunar-vfs-1 libxfce4mcs-client3 libxfce4mcs-manager3 libxfce4util2 libxfcegui4-4 Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED libexo-0.3-0 libthunar-vfs-1* libxfce4mcs-client3* libxfce4mcs-manager3* libxfce4util2* libxfcegui4-4* thunar 0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0B of archives. After unpacking 5198kB disk space will be freed. Do you want to continue [Y/n]? y dpkg: error processing thunar (--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 lutra@lutra-laptop:~$ Errors were encountered while processing: thunar