shutdown
を使用する場合 コマンド私のシステムはエラーをスローします。 shutdown -h
を使用しても発生します またはshutdown -h now
[email protected]:~$ sudo shutdown
[sudo] password for user:
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
[email protected]:~$ shutdown -h
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
[email protected]:~$ shutdown -h now
Failed to connect to bus: No such file or directory
動作させることができる唯一のコマンドは、sudo shutdown -h now
です。
これは予想される動作ですか?
dbusがインストールされ、最新の状態になっています…
[email protected]:~$ sudo apt-get install dbus
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
dbus is already the newest version (1.10.6-1ubuntu3.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
承認された回答:
結局のところ、問題はdbus
にありました –インストールされて最新であるにもかかわらず、まだ壊れていました。
で再インストールできます
apt-get install --reinstall dbus