Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Bleachbit crash with elevated privileges.

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Bleachbit crash with elevated privileges.

#1 Post by VentGrey »

I wanted to do some system cleanup in my current Debian 9 (Testing) installation so I decided to install bleachbit, but when I try to use it with any method of elevated privileges (su, sudo, gksu, gksudo, su-to-root) but the result is the same, it crashes everytime and shows no console output, I tried to consult some bugs but none of them offer a good solution :(
Technical details:

Code: Select all

Kernel - 4.9.0-2-amd64
Bleachbit-1.12
BleachBit version 1.12
GTK version 2.24.31
local_cleaners_dir = /home/vent/.config/bleachbit/cleaners
locale_dir = /usr/share/locale/
options_dir = /home/vent/.config/bleachbit
personal_cleaners_dir = /home/omar/.config/bleachbit/cleaners
system_cleaners_dir = /usr/share/bleachbit/cleaners
locale.getdefaultlocale = ('es_MX', 'UTF-8')
os.getenv('DESKTOP_SESSION') = lightdm-xsession
os.getenv('LOGNAME') = vent
os.getenv('USER') = vent
os.getenv('SUDO_UID') = None
os.path.expanduser('~') = /home/vent
platform.linux_distribution() = ('debian', '9.0', '')
platform.platform = Linux-4.9.0-2-amd64-x86_64-with-debian-9.0
platform.version = #1 SMP Debian 4.9.13-1 (2017-02-27)
sys.argv = ['/usr/bin/bleachbit']
sys.executable = /usr/bin/python
sys.version = 2.7.13 (default, Jan 19 2017, 14:48:08) 
[GCC 6.3.0 20170118]
__file__ = /usr/share/bleachbit/bleachbit/Diagnostic.pyc
I would exchange everything I know in exchange for half of what I don't.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Bleachbit crash with elevated privileges.

#2 Post by debiman »

maybe you need to install another app that will sort out the mess bleachbit created?
:mrgreen: ok, only joking.

methinks maybe bleachbit runs with normal user privs and asks for superuser privs when needed?

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: Bleachbit crash with elevated privileges.

#3 Post by VentGrey »

That's the problem, I can run it without superuser privileges but it never asks for those privileges when cleaning, it just complains about "Permission denied". :mrgreen:
I would exchange everything I know in exchange for half of what I don't.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Bleachbit crash with elevated privileges.

#4 Post by GarryRicketson »

I stopped using BleachBit, but on the older versions of BleachBit, and Debian, ..(6 , 7) ,
If you used the menu/gui, it had 2 choices, "start as user", "start as root", the
same, if you started it from the command line, if you want to "clean", directories
that require root privileges, you need to start it as root or use sudo.
It should start as root, or using sudo.
If that is not working properly, then something is wrong.
Maybe in the package when it was installed, ?
Being that it is Debian testing , it could be many things,...
Check the Debian testing bug reports, maybe ?

I am sure since you are using Debian testing you know how to do that, so
I won't go into that.

====edited=====
A search does not yield anything specific to Debian (testing) but:
How to use BleachBit as root on Debian 9

Here, they recommend "gksudo",
http://askubuntu.com/questions/228512/h ... it-as-root

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: Bleachbit crash with elevated privileges.

#5 Post by VentGrey »

tried using gksu and gksudo but it crashed after a while, now leaving a tiny output which is:

Code: Select all

debug: DeepScan.scan: searches= {'/root': [u'^\\.DS_Store$', u'\\.[Bb][Aa][Kk]$', u'[a-zA-Z]{1,4}~$', u'^~wr[a-z][0-9]{4}\\.tmp$', u'^ppt[0-9]{4}\\.tmp$', u'^Thumbs\\.db$', u'^Thumbs\\.db:encryptable$']}
Google search results only show bug output but no solution,
I would exchange everything I know in exchange for half of what I don't.

Post Reply