Please Read First Before Posting
This topic is a guide for everyone on the forums. Please do not reply to this topic.
Before posting any topic on the forums, please check if your questions already answered in one of these places:
- Help resources
- Documentation
- Forums
- Launchpad (bug tracker)
- Search, which searches all these websites
If you still haven't found any answers to your question, you may consider posting about it here, but please consider following a few steps before posting your topic
- If you want to ask multiple different questions that are unrelated to each other, please make separate topics for each. Do not bundle them up in one topic as it makes it harder to manage.
- Please make sure you keep your topics in the proper section. For example, if you want to make a suggestion, please put it in the suggestion section and not the support section. The same goes the other way around, too.
- Please do not post topics that are unrelated to BleachBit, unless you think BleachBit may have been the cause or have had some sort of relation to the issue.
You now know everything you need to know before you post your topic. If any moderator or admin decide to edit this topic, please leave a comment down below with edit date and what you have changed.
ROCKNROLLKID
Thu, 12/11/2014 - 21:53
Permalink
EDIT: 12/11/2014
EDIT: 12/11/2014
Added new content, edited format and fixed a few grammar errors.
____________________
Also known as Alex.
Moderator for BleachBit and a maintainer for Winapp2.
Check out my open-source group on Steam: http://steamcommunity.com/groups/opencommunity
Windows 10 x64 (switching to ReactOS in the future).
andrew
Fri, 12/19/2014 - 20:55
Permalink
Thanks for starting this. I
Thanks for starting this.
EDIT: 12/19/2014
I made hyperlinks clickable, removed the part about uninstalling and rebooting (which with software in general is a good idea but I haven't noticed it helps much with BleachBit issues), made the post sticky, and did some copy editing.
---
Andrew, lead developer
Ted
Wed, 11/02/2016 - 14:37
Permalink
I read the documentation but
I read the documentation but not sure this question was answered. I am also not sure that this is the correct space to ask this question. However, the question is, I understand that when a file is deleted the filename is removed from the MBR but the actual file remains on the computer but designated as in free space, so will Bleach Bit delete the file in the free space? Does the space on the disk become blank?
If defrag is run will that put all the deleted free space files at the end of the good data?
Ted Goodwin
ROCKNROLLKID
Wed, 11/02/2016 - 14:57
Permalink
Here is a documentation how
Here is a documentation how wipe free space works: http://docs.bleachbit.org/doc/shred-files-and-wipe-disks.html
You can also shred files if you want them permanently erased right away.
____________________
Also known as Alex.
Moderator for BleachBit and a maintainer for Winapp2.
Check out my open-source group on Steam: http://steamcommunity.com/groups/opencommunity
Windows 10 x64 (switching to ReactOS in the future).
harryg123
Sun, 04/09/2017 - 05:30
Permalink
Bleachbit 1.12 STILL does not
Bleachbit 1.12 STILL does not empty trash in LinuxMint 17.0 OR 18.1
I have set the system to overwrite files.
I put a junk file on the desktop,m pressed , and it shows up in the Trash can. But after running Bleachbit as both User and as Root --- the file remains in the trash. Yes, 'Empty trash" is selected on the system. Here is a copy of the error messages:
PART I --- BLEACHBIT ERRORS AND MESSAGES UNER MINT 18.1
======= running bleachbit as user 'sadhu' ==============
======= error messages listed below ====================
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 146, in execute
self.func(self.path)
File "/usr/share/bleachbit/bleachbit/Special.py", line 280, in delete_mozilla_url_history
FileUtilities.execute_sqlite3(path, cmds)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 307, in execute_sqlite3
'%s: %s' % (Common.decode_str(exc), path))
DatabaseError: UNIQUE constraint failed: moz_favicons.url: /home/sadhu/.mozilla/firefox/mwad0hks.default/places.sqlite
Error in execution of Command to delete /var/log/auth.log.1
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 81, in execute
FileUtilities.delete(self.path, self.shred)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 260, in delete
wipe_contents(path)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 542, in wipe_contents
os.chmod(path, 0200) # user write only
OSError: [Errno 1] Operation not permitted: '/var/log/auth.log.1'
Error in execution of Command to delete /var/log/kern.log.1
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 81, in execute
FileUtilities.delete(self.path, self.shred)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 260, in delete
wipe_contents(path)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 542, in wipe_contents
os.chmod(path, 0200) # user write only
OSError: [Errno 1] Operation not permitted: '/var/log/kern.log.1'
Error in execution of Command to delete /var/log/ufw.log.1
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 81, in execute
FileUtilities.delete(self.path, self.shred)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 260, in delete
wipe_contents(path)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 542, in wipe_contents
os.chmod(path, 0200) # user write only
OSError: [Errno 1] Operation not permitted: '/var/log/ufw.log.1'
Error in execution of Command to delete /var/log/syslog.1
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 81, in execute
FileUtilities.delete(self.path, self.shred)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 260, in delete
wipe_contents(path)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 542, in wipe_contents
os.chmod(path, 0200) # user write only
OSError: [Errno 1] Operation not permitted: '/var/log/syslog.1'
Error in execution of Command to delete /var/log/cups/access_log.1
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 81, in execute
FileUtilities.delete(self.path, self.shred)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 260, in delete
wipe_contents(path)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 542, in wipe_contents
os.chmod(path, 0200) # user write only
OSError: [Errno 1] Operation not permitted: '/var/log/cups/access_log.1'
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 131, in execute
func_ret = self.func()
File "/usr/share/bleachbit/bleachbit/Unix.py", line 353, in apt_autoclean
raise RuntimeError(line)
RuntimeError: E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 131, in execute
func_ret = self.func()
File "/usr/share/bleachbit/bleachbit/Unix.py", line 383, in apt_autoremove
raise RuntimeError(line)
RuntimeError: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 146, in execute
self.func(self.path)
File "/usr/share/bleachbit/bleachbit/Special.py", line 102, in delete_chrome_autofill
FileUtilities.execute_sqlite3(path, cmds)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 307, in execute_sqlite3
'%s: %s' % (Common.decode_str(exc), path))
DatabaseError: no such column: full_name: /home/sadhu/.config/chromium/Default/Web Data
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 146, in execute
self.func(self.path)
File "/usr/share/bleachbit/bleachbit/Special.py", line 163, in delete_chrome_favicons
FileUtilities.execute_sqlite3(path, cmds)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 307, in execute_sqlite3
'%s: %s' % (Common.decode_str(exc), path))
DatabaseError: no such column: image_data: /home/sadhu/.config/chromium/Default/Favicons
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 146, in execute
self.func(self.path)
File "/usr/share/bleachbit/bleachbit/Special.py", line 211, in delete_chrome_keywords
FileUtilities.execute_sqlite3(path, cmds)
File "/usr/share/bleachbit/bleachbit/FileUtilities.py", line 307, in execute_sqlite3
'%s: %s' % (Common.decode_str(exc), path))
DatabaseError: no such table: keywords_backup: /home/sadhu/.config/chromium/Default/Web Data
Disk space recovered: 692.2kB
Files deleted: 3
Special operations: 19
Errors: 11
======= running bleachbit as user 'root' ===============
======= no errors. Messages listed below ===============
Clean 0 /root/.config/libreoffice/4/user/registrymodifications.xcu
apt-get autoclean 0
apt-get autoremove 0
Clipboard 0
Delete 73.7kB /var/log/auth.log.1
Delete 1.3MB /var/log/kern.log.1
Delete 41kB /var/log/ufw.log.1
Delete 225.3kB /var/log/syslog.1
Delete 4.1kB /var/log/cups/access_log.1
Disk space recovered: 1.6MB
Files deleted: 5
Special operations: 4
PART II --- BLEACHBIT ERRORS AND MESSAGES UNER MINT 17.0
======= running bleachbit as user 'sadhu' ==============
======= error messages listed below ====================
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/Command.py", line 131, in execute
func_ret = self.func()
File "/usr/share/bleachbit/Unix.py", line 352, in apt_autoclean
raise RuntimeError(line)
RuntimeError: E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/Command.py", line 131, in execute
func_ret = self.func()
File "/usr/share/bleachbit/Unix.py", line 382, in apt_autoremove
raise RuntimeError(line)
RuntimeError: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
Error in execution of Command to delete /home/sadhu/.kde/share/apps/gwenview/recentfolders/y22449rc
Traceback (most recent call last):
File "/usr/share/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/Command.py", line 81, in execute
FileUtilities.delete(self.path, self.shred)
File "/usr/share/bleachbit/FileUtilities.py", line 260, in delete
wipe_contents(path)
File "/usr/share/bleachbit/FileUtilities.py", line 554, in wipe_contents
os.chmod(path, 0200) # user write only
OSError: [Errno 1] Operation not permitted: '/home/sadhu/.kde/share/apps/gwenview/recentfolders/y22449rc'
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/Command.py", line 233, in execute
FileUtilities.clean_json(self.path, self.address)
File "/usr/share/bleachbit/FileUtilities.py", line 183, in clean_json
js = json.load(open(path, 'r'))
IOError: [Errno 13] Permission denied: u'/home/sadhu/.config/chromium/Local State'
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/Command.py", line 233, in execute
FileUtilities.clean_json(self.path, self.address)
File "/usr/share/bleachbit/FileUtilities.py", line 183, in clean_json
js = json.load(open(path, 'r'))
IOError: [Errno 13] Permission denied: u'/home/sadhu/.config/chromium/Local State'
Disk space recovered: 241.7kB
Files deleted: 2
Special operations: 20
Errors: 5
======= running bleachbit as user 'root' ===============
======= no errors. Messages listed below ===============
Delete 8.2kB /root/.mozilla/firefox/jjlorr9i.default/bookmarkbackups/bookmarks-2016-09-09_13.json
Delete the usage history 0 /root/.mozilla/firefox/jjlorr9i.default/places.sqlite
Vacuum 0 /root/.mozilla/firefox/jjlorr9i.default/healthreport.sqlite
Vacuum 0 /root/.mozilla/firefox/jjlorr9i.default/places.sqlite
Vacuum 0 /root/.mozilla/firefox/jjlorr9i.default/permissions.sqlite
Clipboard 0
Delete 61.4kB /var/log/dmesg.0
Delete 4.1kB /var/log/mdm/:0.log.1
Delete 0 /var/log/samba/log.127.0.0.1
Delete 24.6kB /var/log/Xorg.0.log.old
apt-get autoclean 0
apt-get autoremove 0
Clean file 0 /root/.config/chromium/Local State
Clean file 0 /root/.config/chromium/Local State
Disk space recovered: 98.3kB
Files deleted: 5
Special operations: 9
andrew
Sat, 04/15/2017 - 08:58
Permalink
harryg123: This thread is
harryg123: This thread is called "please read before posting," so to help keep the forum organized, please reply to this thread only with comments related to it. Otherwise, please open a new topic on the forum.
If you think you have a bug, please open a bug ticket on GitHub. That is a much better place to file bug tickets than the forum. Please file one bug ticket per issue rather than mixing separate issues in one ticket.
The "permission denied" error on files under /var when running as a normal user is the expected behavior. That's just how Linux normally works, and it does not have anything to do with the trash.
The error "DatabaseError: no such table" is related neither to the trash nor to "permission denied," so that can be a separate ticket. It would help to know the versions of Google Chrome and Chromium that you have.
---
Andrew, lead developer