Empty Trash Error

Asked by Dr Denise M Noha

Hello there,

I have a problem emptying the trash. I was copying up my home folder and started to use firefox instead of leaving it alone. Consequently I now have a Mozilla Cache subdirectory in my trash which just will not delete. If I try and delete it I get "Error "File not found" while deleting "/media/Ex...9F5DD5d01" for example. I have tried navigating through with the terminal and using rm -r and rm -f with no success.

Any ideas how I can clear the trash?

Thanks
Denise

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Dr Denise M Noha
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Have you used a removable media...? Try to reconnect it...
HTH

Revision history for this message
Dr Denise M Noha (denise-noha) said :
#2

Hi there,

I have got one removable media - an external hard drive which I use for backup. It is the trash file associated with that external removable media that I have a problem with. This does give you more of a clue?

Denise

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Yes i think is related to external removable media because your error come from /media/Ex...9F5DD5d01
The /media mount point is usual for usb stick memory, removable disk and so on...
Try this, open a Terminal from Applications->Accessories->Terminal and type:

cd
sudo rm -fr .Trash/*

When the system ask you a password, give your user password (you don't see nothing when you type it), then press enter

Your Trash now must be empty

HTH

Revision history for this message
Dr Denise M Noha (denise-noha) said :
#4

Hello HTH

It won't work this is what I get:

nohad@shuttle-ubuntu:/media/ExtUbuntuBackup$ sudo rm -fr .Trash-nohad/*
rm: cannot remove directory `.Trash-nohad/nohad/.mozilla/firefox/thhdielt.default/Cache': Directory not empty
nohad@shuttle-ubuntu:/media/ExtUbuntuBackup$

Any more ideas?

Revision history for this message
Dr Denise M Noha (denise-noha) said :
#5

Ran e2fsck with -y option. Disk had errors. After running this I could delete the trash folder.