flashplayer.dmg is in use and can't empty Trash I accidentally downloaded malware: something posing as Flash Player in flashplayer.dmg. I did not install it, but deleted the dmg file. Now I want to delete my trash bin, but I can't. It says: 'trash can't be emptied, flash player.dmg is in use.'
How do I fix this?
open Terminal.app
type rm .Trash/flash_player.dmg and press Enter. This removes the file.
reboot
check whether the file is gone from the Trashcan


It might be helpful to run a malware cleaner afterwards as well to make sure nothing else got infected.