Unable to delete a file whatever I do

filesrmtrash

So here is my problem I have a pretty strange file that I can't get out of my computer.

I tried pretty much everything. First I used software like CleanMyMac, TrashIt, CCleaner etc… None of them was able to do anything.

I tried to throw it to the trash and "secure trash it". It did not complete, so I finally aborted it.

I then tried to use the terminal with a sudo rm -R but no: still there. The file is untrashable because it seems not to exist…

Here is a view of what I got:

sh-3.2# sudo rm -R /Users/Mawel/.Trash/Tunnelblick.app 
rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks/Sparkle.framework/Resources: No such file or directory
rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks/Sparkle.framework/Versions/Current: No such file or directory
rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks/Sparkle.framework/Versions: Directory not empty
rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks/Sparkle.framework: Directory not empty
rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks: Directory not empty
rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents: Directory not empty
rm: /Users/Mawel/.Trash/Tunnelblick.app: Directory not empty

Is it basically telling me that there is nothing there and I can't delete nothing?

EDIT

I tried some of your answers especially the one where I force the remove of each file one by one.
Here is a sample of what happen :

sh-3.2# cd Sparkle.framework/
sh-3.2# ls -al
total 8
drwxr-xr-x@ 4 root  wheel  136 22 jan  2014 .
drwxr-xr-x@ 3 root  wheel  102 17 jan  2014 ..
lrwxrwxrwx@ 1 root  wheel   26 22 jan  2014 Resources -> Versions/Current/Resources
drwxr-xr-x@ 3 root  wheel  102  9 fév  2014 Versions
sh-3.2# sudo rm -f Resources 
sh-3.2# ls -al
total 8
drwxr-xr-x@ 4 root  wheel  136 22 jan  2014 .
drwxr-xr-x@ 3 root  wheel  102 17 jan  2014 ..
lrwxrwxrwx@ 1 root  wheel   26 22 jan  2014 Resources -> Versions/Current/Resources
drwxr-xr-x@ 3 root  wheel  102  9 fév  2014 Versions
sh-3.2# 

EDIT 2

Thanks to DisplayName I finally manage to remove them by moving them to the /tmp folder and cleaning it.

Best Answer

Move them to /tmp and restart (Or empty /tmp in any other way). I've had this problem before and it's been to only way for me to fix it.

Before doing this you should investigate into why they aren't deleted but use it as a last resort. There are no dangers to doing this but I recommend trying to learn why they aren't deleted before.

Related Question