Accidentally removed system dbus fixing

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








up vote
0
down vote

favorite












So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to recovery mode, I've tried to fix broken packages, but I get an error from that saying that it can't import distupgrade from python3/dist-packages. When I try to run the networking option in the recovery menu to try to reinstall some of the packages I removed, it hangs on "Reached Target Sound Card". I am completely at loss for what to do at this point, I've tried almost everything I can think of. Any help is appreciated! Thank you.










share|improve this question

























    up vote
    0
    down vote

    favorite












    So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to recovery mode, I've tried to fix broken packages, but I get an error from that saying that it can't import distupgrade from python3/dist-packages. When I try to run the networking option in the recovery menu to try to reinstall some of the packages I removed, it hangs on "Reached Target Sound Card". I am completely at loss for what to do at this point, I've tried almost everything I can think of. Any help is appreciated! Thank you.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to recovery mode, I've tried to fix broken packages, but I get an error from that saying that it can't import distupgrade from python3/dist-packages. When I try to run the networking option in the recovery menu to try to reinstall some of the packages I removed, it hangs on "Reached Target Sound Card". I am completely at loss for what to do at this point, I've tried almost everything I can think of. Any help is appreciated! Thank you.










      share|improve this question













      So I accidentally did something very dumb today, running sudo apt-get remove dbus instead of running sudo apt-get remove python-dbus. This led to my dpkg being broken and me getting a 'failed to start session' error when I try to log in. Going to recovery mode, I've tried to fix broken packages, but I get an error from that saying that it can't import distupgrade from python3/dist-packages. When I try to run the networking option in the recovery menu to try to reinstall some of the packages I removed, it hangs on "Reached Target Sound Card". I am completely at loss for what to do at this point, I've tried almost everything I can think of. Any help is appreciated! Thank you.







      dbus






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 17 at 23:28









      Itaque

      1




      1




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          Use following commands :



          # apt-get purge dbus


          After that :



          # apt-get install ubuntu-desktop





          share|improve this answer




















          • When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
            – Itaque
            Feb 17 at 23:44

















          up vote
          0
          down vote













          I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.






          share|improve this answer




















          • Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
            – Itaque
            Feb 18 at 2:38










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2faskubuntu.com%2fquestions%2f1007221%2faccidentally-removed-system-dbus-fixing%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













          Use following commands :



          # apt-get purge dbus


          After that :



          # apt-get install ubuntu-desktop





          share|improve this answer




















          • When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
            – Itaque
            Feb 17 at 23:44














          up vote
          0
          down vote













          Use following commands :



          # apt-get purge dbus


          After that :



          # apt-get install ubuntu-desktop





          share|improve this answer




















          • When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
            – Itaque
            Feb 17 at 23:44












          up vote
          0
          down vote










          up vote
          0
          down vote









          Use following commands :



          # apt-get purge dbus


          After that :



          # apt-get install ubuntu-desktop





          share|improve this answer












          Use following commands :



          # apt-get purge dbus


          After that :



          # apt-get install ubuntu-desktop






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 17 at 23:34









          An0n

          81418




          81418











          • When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
            – Itaque
            Feb 17 at 23:44
















          • When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
            – Itaque
            Feb 17 at 23:44















          When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
          – Itaque
          Feb 17 at 23:44




          When I run this I get a bunch of failed to fetch ppas because I'm not online. That's part of my problem.
          – Itaque
          Feb 17 at 23:44












          up vote
          0
          down vote













          I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.






          share|improve this answer




















          • Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
            – Itaque
            Feb 18 at 2:38














          up vote
          0
          down vote













          I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.






          share|improve this answer




















          • Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
            – Itaque
            Feb 18 at 2:38












          up vote
          0
          down vote










          up vote
          0
          down vote









          I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.






          share|improve this answer












          I'm not great at Linux, my advice is to fresh install if you don't have anything crucial on your computer. If you do, try backing up your files on a USB, then fresh install and copy over the files you need from that USB.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 18 at 0:52









          Allan Nelson

          1




          1











          • Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
            – Itaque
            Feb 18 at 2:38
















          • Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
            – Itaque
            Feb 18 at 2:38















          Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
          – Itaque
          Feb 18 at 2:38




          Yeah, the first thing I did was back up my files. The only thing is this is a pretty customized install and it would be easier to fix it even if it takes a few hours than to get everything set up again.
          – Itaque
          Feb 18 at 2:38

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1007221%2faccidentally-removed-system-dbus-fixing%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error

          How do I move numbers in filenames, in a batch renaming operation?