Problem with installing texlive 2017 on Ubuntu 16.04 LTS

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








up vote
2
down vote

favorite
1












I tried to update from texlive 2015 to 2017.



I ran the following commands:



sudo add-apt-repository ppa:jonathonf/texlive-2017
sudo apt-get update
sudo apt-get install texlive-full


After running the last line, I get a lot of package names with unmet dependencies and the following error:



 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


But running
sudo apt-get -f install results in another error



Preconfiguring packages ...
(Reading database ... 880678 files and directories currently installed.)
Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


It looks like I am stuck with a circular problem.

I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.



Can someone help me out please?










share|improve this question



























    up vote
    2
    down vote

    favorite
    1












    I tried to update from texlive 2015 to 2017.



    I ran the following commands:



    sudo add-apt-repository ppa:jonathonf/texlive-2017
    sudo apt-get update
    sudo apt-get install texlive-full


    After running the last line, I get a lot of package names with unmet dependencies and the following error:



     E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


    But running
    sudo apt-get -f install results in another error



    Preconfiguring packages ...
    (Reading database ... 880678 files and directories currently installed.)
    Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
    Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
    dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
    trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    It looks like I am stuck with a circular problem.

    I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.



    Can someone help me out please?










    share|improve this question

























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      I tried to update from texlive 2015 to 2017.



      I ran the following commands:



      sudo add-apt-repository ppa:jonathonf/texlive-2017
      sudo apt-get update
      sudo apt-get install texlive-full


      After running the last line, I get a lot of package names with unmet dependencies and the following error:



       E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      But running
      sudo apt-get -f install results in another error



      Preconfiguring packages ...
      (Reading database ... 880678 files and directories currently installed.)
      Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
      Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
      dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
      trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Errors were encountered while processing:
      /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      It looks like I am stuck with a circular problem.

      I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.



      Can someone help me out please?










      share|improve this question















      I tried to update from texlive 2015 to 2017.



      I ran the following commands:



      sudo add-apt-repository ppa:jonathonf/texlive-2017
      sudo apt-get update
      sudo apt-get install texlive-full


      After running the last line, I get a lot of package names with unmet dependencies and the following error:



       E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


      But running
      sudo apt-get -f install results in another error



      Preconfiguring packages ...
      (Reading database ... 880678 files and directories currently installed.)
      Preparing to unpack .../texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb ...
      Unpacking texlive-fonts-extra-doc (2017.20170619-1~16.04.york0) over (2015.20160320-1) ...
      dpkg: error processing archive /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb (--unpack):
      trying to overwrite '/usr/share/doc/texlive-doc/latex/mweights/README', which is also in package texlive-latex-extra-doc 2015.20160320-1
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Errors were encountered while processing:
      /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      It looks like I am stuck with a circular problem.

      I tried the solution listed in Install texlive 2017 on Ubuntu 16.04 LTS but was not successful.



      Can someone help me out please?







      apt package-management dpkg latex texlive






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 19:09









      Fabby

      24.3k1352153




      24.3k1352153










      asked Mar 28 at 17:49









      shaunaksinha

      132




      132




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Usually it is not recommeded, but you can force file overwrite with



          sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb


          and then



          sudo apt-get install -f
          sudo dpkg --configure -a
          sudo apt-get dist-upgrade





          share|improve this answer
















          • 1




            Thank you very much @N0rbert! I had to use the sudo dpkg -i ... command and sudu apt-get install -f iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a and sudo apt-get dist-upgrade. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
            – shaunaksinha
            Mar 29 at 1:08











          • Great! So you can accept my answer :)
            – N0rbert
            Mar 29 at 8:37






          • 1




            Sorry. I'm a newbie to this forum. Looks like I accepted it now.
            – shaunaksinha
            Mar 29 at 12:46










          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%2f1020044%2fproblem-with-installing-texlive-2017-on-ubuntu-16-04-lts%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          Usually it is not recommeded, but you can force file overwrite with



          sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb


          and then



          sudo apt-get install -f
          sudo dpkg --configure -a
          sudo apt-get dist-upgrade





          share|improve this answer
















          • 1




            Thank you very much @N0rbert! I had to use the sudo dpkg -i ... command and sudu apt-get install -f iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a and sudo apt-get dist-upgrade. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
            – shaunaksinha
            Mar 29 at 1:08











          • Great! So you can accept my answer :)
            – N0rbert
            Mar 29 at 8:37






          • 1




            Sorry. I'm a newbie to this forum. Looks like I accepted it now.
            – shaunaksinha
            Mar 29 at 12:46














          up vote
          2
          down vote



          accepted










          Usually it is not recommeded, but you can force file overwrite with



          sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb


          and then



          sudo apt-get install -f
          sudo dpkg --configure -a
          sudo apt-get dist-upgrade





          share|improve this answer
















          • 1




            Thank you very much @N0rbert! I had to use the sudo dpkg -i ... command and sudu apt-get install -f iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a and sudo apt-get dist-upgrade. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
            – shaunaksinha
            Mar 29 at 1:08











          • Great! So you can accept my answer :)
            – N0rbert
            Mar 29 at 8:37






          • 1




            Sorry. I'm a newbie to this forum. Looks like I accepted it now.
            – shaunaksinha
            Mar 29 at 12:46












          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          Usually it is not recommeded, but you can force file overwrite with



          sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb


          and then



          sudo apt-get install -f
          sudo dpkg --configure -a
          sudo apt-get dist-upgrade





          share|improve this answer












          Usually it is not recommeded, but you can force file overwrite with



          sudo dpkg -i --force-all /var/cache/apt/archives/texlive-fonts-extra-doc_2017.20170619-1~16.04.york0_all.deb


          and then



          sudo apt-get install -f
          sudo dpkg --configure -a
          sudo apt-get dist-upgrade






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 28 at 18:08









          N0rbert

          15.9k33274




          15.9k33274







          • 1




            Thank you very much @N0rbert! I had to use the sudo dpkg -i ... command and sudu apt-get install -f iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a and sudo apt-get dist-upgrade. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
            – shaunaksinha
            Mar 29 at 1:08











          • Great! So you can accept my answer :)
            – N0rbert
            Mar 29 at 8:37






          • 1




            Sorry. I'm a newbie to this forum. Looks like I accepted it now.
            – shaunaksinha
            Mar 29 at 12:46












          • 1




            Thank you very much @N0rbert! I had to use the sudo dpkg -i ... command and sudu apt-get install -f iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a and sudo apt-get dist-upgrade. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
            – shaunaksinha
            Mar 29 at 1:08











          • Great! So you can accept my answer :)
            – N0rbert
            Mar 29 at 8:37






          • 1




            Sorry. I'm a newbie to this forum. Looks like I accepted it now.
            – shaunaksinha
            Mar 29 at 12:46







          1




          1




          Thank you very much @N0rbert! I had to use the sudo dpkg -i ... command and sudu apt-get install -f iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a and sudo apt-get dist-upgrade. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
          – shaunaksinha
          Mar 29 at 1:08





          Thank you very much @N0rbert! I had to use the sudo dpkg -i ... command and sudu apt-get install -f iteratively until all the packages were unpacked and installed. Finally I ran sudo dpkg --configure -a and sudo apt-get dist-upgrade. Now I have texlive 2017 running on Ubuntu 16.04 without a problem.
          – shaunaksinha
          Mar 29 at 1:08













          Great! So you can accept my answer :)
          – N0rbert
          Mar 29 at 8:37




          Great! So you can accept my answer :)
          – N0rbert
          Mar 29 at 8:37




          1




          1




          Sorry. I'm a newbie to this forum. Looks like I accepted it now.
          – shaunaksinha
          Mar 29 at 12:46




          Sorry. I'm a newbie to this forum. Looks like I accepted it now.
          – shaunaksinha
          Mar 29 at 12:46

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1020044%2fproblem-with-installing-texlive-2017-on-ubuntu-16-04-lts%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

          `kcmshell` modules relation with `/usr/share/applications`

          How to enroll fingerprints to Ubuntu 17.10 with VFS491