GCP: Debian stuck at setting up dbus
I have been trying to install GUI, i.e. gnome and lxde, into Debian 9 stretch in google cloud computing instance. I have even increased the cpu, ram, harddisk size. However, the installation is always stuck at "Setting up dbus (1.10.26-0+deb9u1)"
My last attempt is letting it sit for 6 hours now. It's still stuck there.
What can I do?
Thanks and Regards
Edit1: I found this line. Does this have to do with this error?
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: I shutdown the instance and get thefollowing. Not sure if this may mean anything or not related at all - again because I forced shutdown the system.
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
debian software-installation gnome3 d-bus google-cloud
add a comment |
I have been trying to install GUI, i.e. gnome and lxde, into Debian 9 stretch in google cloud computing instance. I have even increased the cpu, ram, harddisk size. However, the installation is always stuck at "Setting up dbus (1.10.26-0+deb9u1)"
My last attempt is letting it sit for 6 hours now. It's still stuck there.
What can I do?
Thanks and Regards
Edit1: I found this line. Does this have to do with this error?
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: I shutdown the instance and get thefollowing. Not sure if this may mean anything or not related at all - again because I forced shutdown the system.
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
debian software-installation gnome3 d-bus google-cloud
got the same problem, fresh clean debian installation followed by lxde install, hangs at the same line with the same previous error about rtkit. installed within virtualbox.
– ulkas
May 16 at 21:07
add a comment |
I have been trying to install GUI, i.e. gnome and lxde, into Debian 9 stretch in google cloud computing instance. I have even increased the cpu, ram, harddisk size. However, the installation is always stuck at "Setting up dbus (1.10.26-0+deb9u1)"
My last attempt is letting it sit for 6 hours now. It's still stuck there.
What can I do?
Thanks and Regards
Edit1: I found this line. Does this have to do with this error?
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: I shutdown the instance and get thefollowing. Not sure if this may mean anything or not related at all - again because I forced shutdown the system.
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
debian software-installation gnome3 d-bus google-cloud
I have been trying to install GUI, i.e. gnome and lxde, into Debian 9 stretch in google cloud computing instance. I have even increased the cpu, ram, harddisk size. However, the installation is always stuck at "Setting up dbus (1.10.26-0+deb9u1)"
My last attempt is letting it sit for 6 hours now. It's still stuck there.
What can I do?
Thanks and Regards
Edit1: I found this line. Does this have to do with this error?
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: I shutdown the instance and get thefollowing. Not sure if this may mean anything or not related at all - again because I forced shutdown the system.
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
debian software-installation gnome3 d-bus google-cloud
debian software-installation gnome3 d-bus google-cloud
edited May 27 at 12:32
Jeff Schaller
38.7k1053125
38.7k1053125
asked May 3 at 3:01
Call Me Hi Hi
112
112
got the same problem, fresh clean debian installation followed by lxde install, hangs at the same line with the same previous error about rtkit. installed within virtualbox.
– ulkas
May 16 at 21:07
add a comment |
got the same problem, fresh clean debian installation followed by lxde install, hangs at the same line with the same previous error about rtkit. installed within virtualbox.
– ulkas
May 16 at 21:07
got the same problem, fresh clean debian installation followed by lxde install, hangs at the same line with the same previous error about rtkit. installed within virtualbox.
– ulkas
May 16 at 21:07
got the same problem, fresh clean debian installation followed by lxde install, hangs at the same line with the same previous error about rtkit. installed within virtualbox.
– ulkas
May 16 at 21:07
add a comment |
2 Answers
2
active
oldest
votes
i was able to complete the installation by first installing the dbus
library alone, and just after proceeded with the lxde
installation:
sudo apt-get install dbus
sudo apt-get install lxde
add a comment |
Restart your server and then do
dpkg --configure -a
happen to me always when i setup vnc it stuck and then have to restart vps
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441438%2fgcp-debian-stuck-at-setting-up-dbus%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
i was able to complete the installation by first installing the dbus
library alone, and just after proceeded with the lxde
installation:
sudo apt-get install dbus
sudo apt-get install lxde
add a comment |
i was able to complete the installation by first installing the dbus
library alone, and just after proceeded with the lxde
installation:
sudo apt-get install dbus
sudo apt-get install lxde
add a comment |
i was able to complete the installation by first installing the dbus
library alone, and just after proceeded with the lxde
installation:
sudo apt-get install dbus
sudo apt-get install lxde
i was able to complete the installation by first installing the dbus
library alone, and just after proceeded with the lxde
installation:
sudo apt-get install dbus
sudo apt-get install lxde
answered May 16 at 21:17
ulkas
558
558
add a comment |
add a comment |
Restart your server and then do
dpkg --configure -a
happen to me always when i setup vnc it stuck and then have to restart vps
add a comment |
Restart your server and then do
dpkg --configure -a
happen to me always when i setup vnc it stuck and then have to restart vps
add a comment |
Restart your server and then do
dpkg --configure -a
happen to me always when i setup vnc it stuck and then have to restart vps
Restart your server and then do
dpkg --configure -a
happen to me always when i setup vnc it stuck and then have to restart vps
answered Jul 7 at 10:58
user889030
1073
1073
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441438%2fgcp-debian-stuck-at-setting-up-dbus%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
got the same problem, fresh clean debian installation followed by lxde install, hangs at the same line with the same previous error about rtkit. installed within virtualbox.
– ulkas
May 16 at 21:07