I recently had to move my Home directory partition to make space for a bigger boot partition. Everything seems to have worked fine but when I run Lucky Backup simulation I get several errors saying that file structures needs cleaning. The files in question are all in ./local/Trash. I have run fsck and e2fsck and both show file system is clean. I have tried deleting these files i.e moving them to trash but all that happens is that the file reappears with a new name e.g delete file xyz results in a file xyz.1 appearing. I have a backup of the file system pre partition move but am reluctant to use this before resolving the problem. If I restore my backup will the files I cannot delete still be in the ./local/Trash folder? I also have tried sudo trash-empty but files are still there. I suppose I could copy all the good files onto another drive then format the /home partition and then copy them back but I am hoping there is a quicker way. All topics I have found on the web relating to this problem say use fsck but this does not work in my case. Any advice would be appreciated. using ubuntu 24.04.
Ubuntu Forums Code of Conduct