flashplayer.dmg is in use and can't empty Trash

Solution 1:

  • 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.

Solution 2:

First, reboot. Second hold down the Option while selecting Empty Trash from the Finder menu.

Failing that boot in Safe Mode (hold the Shift key while booting your Mac). And try emptying the trash again.

Failing that you may want to try a free malware cleaner.