bleachbit fails to launch as root in Ubuntu 21.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bleachbit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In ubuntu 21.04 (hirsute), bleachbit fails to launch as root (sudo or pkexec). However, as normal user it launches.
version: bleachbit/
The output in terminal when running as root is:
Traceback (most recent call last):
File "/usr/bin/
import bleachbit.GUI
File "/usr/share/
from bleachbit import Cleaner, FileUtilities
File "/usr/share/
from bleachbit.Options import options
File "/usr/share/
set_
File "/usr/share/
is_debug = options.
File "/usr/share/
return self.config.
File "/usr/lib/
return self._get_
File "/usr/lib/
return self._get(section, conv, option, raw=raw, vars=vars,
File "/usr/lib/
return conv(self.
File "/usr/lib/
raise ValueError('Not a boolean: %s' % value)
ValueError: Not a boolean: ['False']
First, please update to a new version. The latest release is version 4.3.0 beta, which will soon be 4.4.0 stable with little change. There's also 4.2.0 stable that is much newer than version 3.9.
Ubuntu has a "no rolling release policy," so its repositories will not keep BleachBit updated. You can find newer versions here
https:/ /www.bleachbit. org/download /www.bleachbit. org/news/ bleachbit- 430-beta
https:/
If you experience this problem in a new version, then please review the comments in this discussion of the same problem https:/ /github. com/bleachbit/ bleachbit/ issues/ 562 .
If you can add more information about this problem happening with a new version of BleachBit, please report it here https:/ /github. com/bleachbit/ bleachbit/ issues/ new/choose