I have applied that fix, and whilst I no longer get the same error, it
still does not complete successfully:
>>
debug: disabling swap
debug: running cmd ['swapoff', '-a', '-v']
debug: detected swap devices: ['/dev/mapper/lubuntu-swap_1']
info: wiping swap device '/dev/mapper/lubuntu-swap_1'
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 88, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 131, in execute
for func_ret in self.func():
File "/usr/share/bleachbit/bleachbit/Memory.py", line 250, in wipe_memory
wipe_swap_linux(devices, proc_swaps)
File "/usr/share/bleachbit/bleachbit/Memory.py", line 227, in wipe_swap_linux
if get_swap_size_linux(device, proc_swaps) > 8*1024**3:
File "/usr/share/bleachbit/bleachbit/Memory.py", line 140, in
get_swap_size_linux
(device, proc_swaps))
RuntimeError: error: cannot find size of swap device
'/dev/mapper/lubuntu-swap_1'
Filename Type Size Used Priority
/dev/dm-1 partition 6283260 19292 -1
error: cannot find size of swap device '/dev/mapper/lubuntu-swap_1'
Filename Type Size Used Priority
/dev/dm-1 partition 6283260 19292 -1
Disk space recovered: 16.4kB
Files deleted: 4
Special operations: 14
Errors: 2
<<
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1092792
Title:
"Unexpected output" when cleaning LVM swap partition
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bleachbit/+bug/1092792/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs