delete state for uninstalled packages