Error in execution of Command to delete /root/.cache/doc/by-app
I get the following 2 errors as of this week in Linux Mint 19, 64bit, 2GB swap file with 16 GB of RAM.
Error in execution of Command to delete /root/.cache/doc/by-app
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 83, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 84, in execute
FileUtilities.delete(self.path, self.shred)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 266, in delete
os.rmdir(delpath)
OSError: [Errno 38] Function not implemented: '/root/.cache/doc/by-app'
Error in execution of Command to delete /root/.cache/doc
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 83, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 84, in execute
FileUtilities.delete(self.path, self.shred)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 266, in delete
os.rmdir(delpath)
OSError: [Errno 16] Device or resource busy: '/root/.cache/doc'
andrew
Wed, 11/21/2018 - 21:07
Permalink
That is an unusual error. I
That is an unusual error. I wonder whether this is not a normal file. Could you try this command for troubleshooting and paste the results?
While you're there, it would be interesting to see whether a normal delete works
---
Andrew, lead developer
ineuw
Thu, 11/22/2018 - 04:31
Permalink
Thanks for the reply. Here
Thanks for the reply. Here are the results. /doc was a folder, not a file so I modified the command. After deleting the folder, BB works fine.
ineuw@lm190dt:~$ sudo stat /root/.cache/doc
[sudo] password for ineuw:
File: /root/.cache/doc
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 805h/2053d Inode: 1179660 Links: 2
Access: (0700/drwx------) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2018-11-21 09:37:06.328851933 -0500
Modify: 2018-11-21 09:37:06.328851933 -0500
Change: 2018-11-21 09:37:06.328851933 -0500
Birth: -
ineuw@lm190dt:~$ sudo rm /root/.cache/doc
rm: cannot remove '/root/.cache/doc': Is a directory
ineuw@lm190dt:~$ sudo rm -R /root/.cache/doc
Linux Mint Cinnamon 20. 0 64bit
andrew
Sat, 07/20/2019 - 13:41
Permalink
The issue was because Flatpak
The issue was because Flatpak created a mount point in ~/.cache . There is information about how to get the fix from Git in this comment
---
Andrew, lead developer