我今天从 Xubuntu 16.04 beta-2 更新到 16.04。现在我无法关闭我的笔记本电脑,但我可以重新启动。当我以 GUI 方式尝试它时,它只是注销。
当我尝试
sudo shutdown -h now
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Failed to start poweroff.target: Transaction is destructive.
See system logs and 'systemctl status poweroff.target' for details.
Run Code Online (Sandbox Code Playgroud)
的输出/var/log/messages
:
tail /var/log/messages
tail: cannot open '/var/log/messages' for reading: No such file or directory
Run Code Online (Sandbox Code Playgroud)
输出 systemctl status poweroff.target
? poweroff.target - Power-Off
Loaded: loaded (/lib/systemd/system/poweroff.target; disabled; vendor preset:
Active: inactive (dead)
Docs: man:systemd.special(7)
Run Code Online (Sandbox Code Playgroud)