Deleted almost the whole lubuntu












0















I tried installing VS Code and it removed all my pacakges, including dpkg and the desktop, Is there a way to fix it without losing the data? Maybe from the live cd?



Edit: Forgot to mention that the Try Lubuntu option doesn't work, only the install option.
Edit2: It also spams ehci-pci 0000:00:12.2: dma_direct_map_sg: overflow0x0000000010893000+512 of device mask ffffffff when trying to "Try Lubuntu"










share|improve this question





























    0















    I tried installing VS Code and it removed all my pacakges, including dpkg and the desktop, Is there a way to fix it without losing the data? Maybe from the live cd?



    Edit: Forgot to mention that the Try Lubuntu option doesn't work, only the install option.
    Edit2: It also spams ehci-pci 0000:00:12.2: dma_direct_map_sg: overflow0x0000000010893000+512 of device mask ffffffff when trying to "Try Lubuntu"










    share|improve this question



























      0












      0








      0








      I tried installing VS Code and it removed all my pacakges, including dpkg and the desktop, Is there a way to fix it without losing the data? Maybe from the live cd?



      Edit: Forgot to mention that the Try Lubuntu option doesn't work, only the install option.
      Edit2: It also spams ehci-pci 0000:00:12.2: dma_direct_map_sg: overflow0x0000000010893000+512 of device mask ffffffff when trying to "Try Lubuntu"










      share|improve this question
















      I tried installing VS Code and it removed all my pacakges, including dpkg and the desktop, Is there a way to fix it without losing the data? Maybe from the live cd?



      Edit: Forgot to mention that the Try Lubuntu option doesn't work, only the install option.
      Edit2: It also spams ehci-pci 0000:00:12.2: dma_direct_map_sg: overflow0x0000000010893000+512 of device mask ffffffff when trying to "Try Lubuntu"







      apt lubuntu live-usb laptop






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 11 at 14:46







      Radu Ungureanu

















      asked Mar 11 at 9:22









      Radu UngureanuRadu Ungureanu

      62




      62






















          3 Answers
          3






          active

          oldest

          votes


















          0














          You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.






          share|improve this answer































            0














            You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!






            share|improve this answer
























            • Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.

              – Radu Ungureanu
              Mar 11 at 13:04



















            0














            Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.






            share|improve this answer























              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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              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
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124705%2fdeleted-almost-the-whole-lubuntu%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.






              share|improve this answer




























                0














                You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.






                share|improve this answer


























                  0












                  0








                  0







                  You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.






                  share|improve this answer













                  You removed too many critical packages, so you must either restore the OS from a complete partition backup or reinstall the OS. It's a shame that you have to do this because of VSCode which isn't even a normal IDE like Visual Studio. As its name suggests, VSCode is more like an enhanced text editor.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 11 at 9:26









                  karelkarel

                  60.2k13130154




                  60.2k13130154

























                      0














                      You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!






                      share|improve this answer
























                      • Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.

                        – Radu Ungureanu
                        Mar 11 at 13:04
















                      0














                      You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!






                      share|improve this answer
























                      • Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.

                        – Radu Ungureanu
                        Mar 11 at 13:04














                      0












                      0








                      0







                      You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!






                      share|improve this answer













                      You should be able to choose to (re)install your Ubuntu from Live media, choosing not to overwrite current partition. In any case, do a backup of (what's remaining) of your system first !!







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Mar 11 at 9:56









                      Soren ASoren A

                      3,55211024




                      3,55211024













                      • Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.

                        – Radu Ungureanu
                        Mar 11 at 13:04



















                      • Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.

                        – Radu Ungureanu
                        Mar 11 at 13:04

















                      Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.

                      – Radu Ungureanu
                      Mar 11 at 13:04





                      Here is where the tricky part comes in, for some reason the Live Lubuntu option doesn't work. Only the intall option.

                      – Radu Ungureanu
                      Mar 11 at 13:04











                      0














                      Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.






                      share|improve this answer




























                        0














                        Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.






                        share|improve this answer


























                          0












                          0








                          0







                          Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.






                          share|improve this answer













                          Just found out that I have an "Recover a broken system" option. I was able to copy all the data from the disk and full reinstall the system.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 11 at 18:40









                          Radu UngureanuRadu Ungureanu

                          62




                          62






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • 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.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124705%2fdeleted-almost-the-whole-lubuntu%23new-answer', 'question_page');
                              }
                              );

                              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







                              Popular posts from this blog

                              數位音樂下載

                              格利澤436b

                              When can things happen in Etherscan, such as the picture below?