I stumbled upon a weird behaviour of my BunsenLabs GNU/Linux (which is based on Debian).
Sometimes I cannot turn off the OS. I doesn't matter whether I use sudo poweroff or the GUI approach.
This is what I get after running sudo poweroff:
Failed to start poweroff.target: Transaction is destructive
Is there a workaround? Why is it happening?
Here is the content of my /lib/udev/rules.d/70-power-switch.rules:
ACTION=="remove", GOTO="power_switch_end"
SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch"
SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch"
LABEL="power_switch_end"