TexStudio on Linux suddenly not able to find installed packages











up vote
0
down vote

favorite












The following code



documentclass{article} 
usepackage{lipsum}

begin{document}
lipsum
end{document}


all of a sudden gives the following error in TexStudio on Ubuntu 18.04 with TexLive:




File `lipsum.sty' not found. usepackage




BUT, I can successfully compile from bash:



$ latex top.tex



I'm thinking this might be because I removed LatexDraw using:



apt-get remove --purge latexdraw
apt-get autoremove


I've tried debugging this, so I list the outputs of some of the commands I ran:





  • which tex gives /usr/local/texlive/2018/bin/x86_64-linux/tex


  • kpsewhich -var-value=TEXMFHOME gives /home/me/texmf, a non-existing directory


  • kpsewhich lipsum.sty gives /usr/local/texlive/2018/texmf dist/tex/latex/lipsum/lipsum.sty

  • Inside TexStudio, Build/Commands ($PATH) reads /usr/local/texlive/2018/bin/x86_64-linux


Any help is appreciated!










share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    up vote
    0
    down vote

    favorite












    The following code



    documentclass{article} 
    usepackage{lipsum}

    begin{document}
    lipsum
    end{document}


    all of a sudden gives the following error in TexStudio on Ubuntu 18.04 with TexLive:




    File `lipsum.sty' not found. usepackage




    BUT, I can successfully compile from bash:



    $ latex top.tex



    I'm thinking this might be because I removed LatexDraw using:



    apt-get remove --purge latexdraw
    apt-get autoremove


    I've tried debugging this, so I list the outputs of some of the commands I ran:





    • which tex gives /usr/local/texlive/2018/bin/x86_64-linux/tex


    • kpsewhich -var-value=TEXMFHOME gives /home/me/texmf, a non-existing directory


    • kpsewhich lipsum.sty gives /usr/local/texlive/2018/texmf dist/tex/latex/lipsum/lipsum.sty

    • Inside TexStudio, Build/Commands ($PATH) reads /usr/local/texlive/2018/bin/x86_64-linux


    Any help is appreciated!










    share|improve this question
















    bumped to the homepage by Community yesterday


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      The following code



      documentclass{article} 
      usepackage{lipsum}

      begin{document}
      lipsum
      end{document}


      all of a sudden gives the following error in TexStudio on Ubuntu 18.04 with TexLive:




      File `lipsum.sty' not found. usepackage




      BUT, I can successfully compile from bash:



      $ latex top.tex



      I'm thinking this might be because I removed LatexDraw using:



      apt-get remove --purge latexdraw
      apt-get autoremove


      I've tried debugging this, so I list the outputs of some of the commands I ran:





      • which tex gives /usr/local/texlive/2018/bin/x86_64-linux/tex


      • kpsewhich -var-value=TEXMFHOME gives /home/me/texmf, a non-existing directory


      • kpsewhich lipsum.sty gives /usr/local/texlive/2018/texmf dist/tex/latex/lipsum/lipsum.sty

      • Inside TexStudio, Build/Commands ($PATH) reads /usr/local/texlive/2018/bin/x86_64-linux


      Any help is appreciated!










      share|improve this question















      The following code



      documentclass{article} 
      usepackage{lipsum}

      begin{document}
      lipsum
      end{document}


      all of a sudden gives the following error in TexStudio on Ubuntu 18.04 with TexLive:




      File `lipsum.sty' not found. usepackage




      BUT, I can successfully compile from bash:



      $ latex top.tex



      I'm thinking this might be because I removed LatexDraw using:



      apt-get remove --purge latexdraw
      apt-get autoremove


      I've tried debugging this, so I list the outputs of some of the commands I ran:





      • which tex gives /usr/local/texlive/2018/bin/x86_64-linux/tex


      • kpsewhich -var-value=TEXMFHOME gives /home/me/texmf, a non-existing directory


      • kpsewhich lipsum.sty gives /usr/local/texlive/2018/texmf dist/tex/latex/lipsum/lipsum.sty

      • Inside TexStudio, Build/Commands ($PATH) reads /usr/local/texlive/2018/bin/x86_64-linux


      Any help is appreciated!







      texlive ubuntu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 24 at 17:12

























      asked Oct 24 at 16:46









      ToniAz

      62




      62





      bumped to the homepage by Community yesterday


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community yesterday


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I restarted my computer and it went back to working normally. 10 minutes later, the problem is back...





          Before edit:



          Once again, the solution is: restart your computer. Anyone who has a real solution or followup is welcome to post an answer.






          share|improve this answer























          • Did you try just logging out and in again? Linux rarely need you to reboot. How exactly do you normally start texstudio.
            – daleif
            Oct 24 at 17:05










          • @daleif Yes I did, unfortunately. Must just be this supergreat Ubuntu 18.04 that I got!
            – ToniAz
            Oct 24 at 17:11











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          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: 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
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f456589%2ftexstudio-on-linux-suddenly-not-able-to-find-installed-packages%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          I restarted my computer and it went back to working normally. 10 minutes later, the problem is back...





          Before edit:



          Once again, the solution is: restart your computer. Anyone who has a real solution or followup is welcome to post an answer.






          share|improve this answer























          • Did you try just logging out and in again? Linux rarely need you to reboot. How exactly do you normally start texstudio.
            – daleif
            Oct 24 at 17:05










          • @daleif Yes I did, unfortunately. Must just be this supergreat Ubuntu 18.04 that I got!
            – ToniAz
            Oct 24 at 17:11















          up vote
          0
          down vote













          I restarted my computer and it went back to working normally. 10 minutes later, the problem is back...





          Before edit:



          Once again, the solution is: restart your computer. Anyone who has a real solution or followup is welcome to post an answer.






          share|improve this answer























          • Did you try just logging out and in again? Linux rarely need you to reboot. How exactly do you normally start texstudio.
            – daleif
            Oct 24 at 17:05










          • @daleif Yes I did, unfortunately. Must just be this supergreat Ubuntu 18.04 that I got!
            – ToniAz
            Oct 24 at 17:11













          up vote
          0
          down vote










          up vote
          0
          down vote









          I restarted my computer and it went back to working normally. 10 minutes later, the problem is back...





          Before edit:



          Once again, the solution is: restart your computer. Anyone who has a real solution or followup is welcome to post an answer.






          share|improve this answer














          I restarted my computer and it went back to working normally. 10 minutes later, the problem is back...





          Before edit:



          Once again, the solution is: restart your computer. Anyone who has a real solution or followup is welcome to post an answer.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Oct 24 at 17:35

























          answered Oct 24 at 17:01









          ToniAz

          62




          62












          • Did you try just logging out and in again? Linux rarely need you to reboot. How exactly do you normally start texstudio.
            – daleif
            Oct 24 at 17:05










          • @daleif Yes I did, unfortunately. Must just be this supergreat Ubuntu 18.04 that I got!
            – ToniAz
            Oct 24 at 17:11


















          • Did you try just logging out and in again? Linux rarely need you to reboot. How exactly do you normally start texstudio.
            – daleif
            Oct 24 at 17:05










          • @daleif Yes I did, unfortunately. Must just be this supergreat Ubuntu 18.04 that I got!
            – ToniAz
            Oct 24 at 17:11
















          Did you try just logging out and in again? Linux rarely need you to reboot. How exactly do you normally start texstudio.
          – daleif
          Oct 24 at 17:05




          Did you try just logging out and in again? Linux rarely need you to reboot. How exactly do you normally start texstudio.
          – daleif
          Oct 24 at 17:05












          @daleif Yes I did, unfortunately. Must just be this supergreat Ubuntu 18.04 that I got!
          – ToniAz
          Oct 24 at 17:11




          @daleif Yes I did, unfortunately. Must just be this supergreat Ubuntu 18.04 that I got!
          – ToniAz
          Oct 24 at 17:11


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f456589%2ftexstudio-on-linux-suddenly-not-able-to-find-installed-packages%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

          Accessing regular linux commands in Huawei's Dopra Linux

          Can't connect RFCOMM socket: Host is down

          Kernel panic - not syncing: Fatal Exception in Interrupt