Unable to empty trash in ubuntu

How to fix the problem where files get stuck in the trash due to faults in Ubuntu.

Edited: 2015-02-19 10:21

Files and folders can sometimes get stuck in the trash can in Ubuntu. To easily fix this problem, you can open up nautilus with sudo permissions, move to the trash location and selecting the files and hitting shift+delete - Simply right-clicking and clicking move to trash will not work, and will just re-create the files in the trash can.