我一直在尝试将GUI,即gnome和lxde安装到google云计算实例中的Debian 9扩展中。我甚至增加了cpu,ram,硬盘大小。但是,安装总是停留在“设置dbus (1.10.26-0+deb9u1)”。
我最后一次尝试是让它坐6个小时。它还卡在那里。
我能做什么?
感谢并致以问候
Edit1:我找到这条线了。这和这个错误有关吗?
Setting up rtkit (0.11-4+b1) ...
Created symlink /etc/systemd/system/graphical.target.wants/rtkit-daemon.service → /lib/systemd/system/rtkit-daemon.service.
Job for rtkit-daemon.service failed because a timeout was exceeded.
See "systemctl status rtkit-daemon.service" and "journalctl -xe" for details.
rtkit-daemon.service couldn't start.Edit2:我关闭了实例并获得了以下内容。不确定这可能意味着什么或根本没有关系-再次因为我强迫关闭系统。
Setting up dbus (1.10.26-0+deb9u1) ...
Job for dbus.service canceled.
invoke-rc.d: initscript dbus, action "start" failed.
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/lib/systemd/system/dbus.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-05-02 21:38:17 UTC; 31min ago
Docs: man:dbus-daemon(1)
Main PID: 15748 (code=exited, status=1/FAILURE)
May 02 21:37:52 instance-2 systemd[1]: Started D-Bus System Message Bus.
May 02 21:37:52 instance-2 dbus-daemon[15748]: Failed to start message bus: Could not get UID and GID for username "messagebus"
May 02 21:38:17 instance-2 systemd[1]: dbus.service: Main process exited, code=exited, status=1/FAILURE
May 02 21:38:17 instance-2 systemd[1]: dbus.service: Unit entered failed state.
May 02 21:38:17 instance-2 systemd[1]: dbus.service: Failed with result 'exit-code'.
dpkg: error processing package dbus (--configure):
subprocess installed post-installation script returned error exit status 1发布于 2018-05-16 21:17:04
我能够通过第一次单独安装dbus库来完成安装,就在开始lxde安装之后:
sudo apt-get install dbus
sudo apt-get install lxde发布于 2018-07-07 10:58:42
重新启动服务器,然后执行
dpkg --configure -a总是发生在我身上,当我设置vnc时,它卡住了,然后不得不重新启动vp。
https://unix.stackexchange.com/questions/441438
复制相似问题