【发布时间】:2018-08-15 00:03:43
【问题描述】:
当我尝试重新启动或关闭我的笔记本电脑时,它不起作用。进一步调查后:
$ systemctl status reboot.target
● reboot.target - Reboot
Loaded: loaded (/lib/systemd/system/reboot.target; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man:systemd.special(7)
重启被禁用。但是,尝试使用 systemctl enable reboot.target 启用它会导致以下输出:
Failed to execute operation: File exists
运行reboot后,出现如下错误:
Failed to start reboot.target: Transaction is destructive.
See system logs and 'systemctl status reboot.target' for details.
我不知道该怎么办;现在我只是强制关机,但我希望能够使用重启和关机功能,而无需每次我想关闭它时切断电源。
【问题讨论】:
标签: ubuntu-16.04 systemd reboot systemctl