sudo aptitude remove -f flashplugin-nonfree Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following packages will be REMOVED: flashplugin-nonfree nspluginwrapper{u} 0 packages upgraded, 0 newly installed, 2 to remove and 56 not upgraded. Need to get 0B of archives. After unpacking 729kB will be freed. Do you want to continue? [Y/n/?] y Writing extended state information... Done dpkg: error processing flashplugin-nonfree (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.