GCP: Debian stuck at setting up dbus

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












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






share|improve this question





















  • 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














up vote
2
down vote

favorite












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






share|improve this question





















  • 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












up vote
2
down vote

favorite









up vote
2
down vote

favorite











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






share|improve this question













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








share|improve this question












share|improve this question




share|improve this question








edited May 27 at 12:32









Jeff Schaller

31.1k846105




31.1k846105









asked May 3 at 3:01









Call Me Hi Hi

111




111











  • 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




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










2 Answers
2






active

oldest

votes

















up vote
0
down vote













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





share|improve this answer




























    up vote
    0
    down vote













    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






    share|improve this answer





















      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',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );








       

      draft saved


      draft discarded


















      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






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      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





      share|improve this answer

























        up vote
        0
        down vote













        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





        share|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          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





          share|improve this answer













          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






          share|improve this answer













          share|improve this answer



          share|improve this answer











          answered May 16 at 21:17









          ulkas

          537




          537






















              up vote
              0
              down vote













              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






              share|improve this answer

























                up vote
                0
                down vote













                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






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  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






                  share|improve this answer













                  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







                  share|improve this answer













                  share|improve this answer



                  share|improve this answer











                  answered Jul 7 at 10:58









                  user889030

                  1073




                  1073






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      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













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Displaying single band from multi-band raster using QGIS

                      How many registers does an x86_64 CPU actually have?