Debian Stretch — Trouble with Latex Installation











up vote
0
down vote

favorite












I must have messed up my latex installation and I do not know how to clean it up.
Some time ago I installed the emerald fonts using the procedure detailed at



Install emerald font package on ubuntu



After some troubles and a new installation of a lot of stuff on my system, if I now try to install latex/tex, here is what I get



Setting up tex-common (6.06) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.am0ezlnt
Please include this file if you report a bug.

Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory

dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)


If I look at the log file this is what I get



$ sudo more /tmp/updmap.am0ezlnt
updmap will read the following updmap.cfg files (in precedence order):
/root/.texlive2016/texmf-config/web2c/updmap.cfg
/etc/texmf/web2c/updmap.cfg
/usr/share/texmf/web2c/updmap.cfg
/usr/share/texlive/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
/root/.texlive2016/texmf-config/web2c/updmap.cfg
dvips output dir: "/var/lib/texmf/fonts/map/dvips/updmap"
pdftex output dir: "/var/lib/texmf/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/var/lib/texmf/fonts/map/dvipdfmx/updmap"
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: emerald.map
(in /root/.texlive2016/texmf-config /web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?

You can disable non-existent map entries using the option
--syncwithtrees.


I reran mktexlsr and used syncwithtrees without success.
I am banging my head against the wall and google did not help. Any suggestion is appreciated.










share|improve this question
















bumped to the homepage by Community 21 hours ago


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















  • from the log file it seems that you have a quite old texlive installation. i would recommend to use github.com/scottkosty/install-tl-ubuntu instructions on how to uninstall completely previous installation and to install a newer version
    – Yorgos
    Sep 25 at 22:39















up vote
0
down vote

favorite












I must have messed up my latex installation and I do not know how to clean it up.
Some time ago I installed the emerald fonts using the procedure detailed at



Install emerald font package on ubuntu



After some troubles and a new installation of a lot of stuff on my system, if I now try to install latex/tex, here is what I get



Setting up tex-common (6.06) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.am0ezlnt
Please include this file if you report a bug.

Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory

dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)


If I look at the log file this is what I get



$ sudo more /tmp/updmap.am0ezlnt
updmap will read the following updmap.cfg files (in precedence order):
/root/.texlive2016/texmf-config/web2c/updmap.cfg
/etc/texmf/web2c/updmap.cfg
/usr/share/texmf/web2c/updmap.cfg
/usr/share/texlive/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
/root/.texlive2016/texmf-config/web2c/updmap.cfg
dvips output dir: "/var/lib/texmf/fonts/map/dvips/updmap"
pdftex output dir: "/var/lib/texmf/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/var/lib/texmf/fonts/map/dvipdfmx/updmap"
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: emerald.map
(in /root/.texlive2016/texmf-config /web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?

You can disable non-existent map entries using the option
--syncwithtrees.


I reran mktexlsr and used syncwithtrees without success.
I am banging my head against the wall and google did not help. Any suggestion is appreciated.










share|improve this question
















bumped to the homepage by Community 21 hours ago


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















  • from the log file it seems that you have a quite old texlive installation. i would recommend to use github.com/scottkosty/install-tl-ubuntu instructions on how to uninstall completely previous installation and to install a newer version
    – Yorgos
    Sep 25 at 22:39













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I must have messed up my latex installation and I do not know how to clean it up.
Some time ago I installed the emerald fonts using the procedure detailed at



Install emerald font package on ubuntu



After some troubles and a new installation of a lot of stuff on my system, if I now try to install latex/tex, here is what I get



Setting up tex-common (6.06) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.am0ezlnt
Please include this file if you report a bug.

Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory

dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)


If I look at the log file this is what I get



$ sudo more /tmp/updmap.am0ezlnt
updmap will read the following updmap.cfg files (in precedence order):
/root/.texlive2016/texmf-config/web2c/updmap.cfg
/etc/texmf/web2c/updmap.cfg
/usr/share/texmf/web2c/updmap.cfg
/usr/share/texlive/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
/root/.texlive2016/texmf-config/web2c/updmap.cfg
dvips output dir: "/var/lib/texmf/fonts/map/dvips/updmap"
pdftex output dir: "/var/lib/texmf/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/var/lib/texmf/fonts/map/dvipdfmx/updmap"
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: emerald.map
(in /root/.texlive2016/texmf-config /web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?

You can disable non-existent map entries using the option
--syncwithtrees.


I reran mktexlsr and used syncwithtrees without success.
I am banging my head against the wall and google did not help. Any suggestion is appreciated.










share|improve this question















I must have messed up my latex installation and I do not know how to clean it up.
Some time ago I installed the emerald fonts using the procedure detailed at



Install emerald font package on ubuntu



After some troubles and a new installation of a lot of stuff on my system, if I now try to install latex/tex, here is what I get



Setting up tex-common (6.06) ...
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.am0ezlnt
Please include this file if you report a bug.

Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory

dpkg: error processing package tex-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)


If I look at the log file this is what I get



$ sudo more /tmp/updmap.am0ezlnt
updmap will read the following updmap.cfg files (in precedence order):
/root/.texlive2016/texmf-config/web2c/updmap.cfg
/etc/texmf/web2c/updmap.cfg
/usr/share/texmf/web2c/updmap.cfg
/usr/share/texlive/texmf-dist/web2c/updmap.cfg
updmap may write changes to the following updmap.cfg file:
/root/.texlive2016/texmf-config/web2c/updmap.cfg
dvips output dir: "/var/lib/texmf/fonts/map/dvips/updmap"
pdftex output dir: "/var/lib/texmf/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/var/lib/texmf/fonts/map/dvipdfmx/updmap"
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: emerald.map
(in /root/.texlive2016/texmf-config /web2c/updmap.cfg)
updmap [ERROR]: Did you run mktexlsr?

You can disable non-existent map entries using the option
--syncwithtrees.


I reran mktexlsr and used syncwithtrees without success.
I am banging my head against the wall and google did not help. Any suggestion is appreciated.







texlive installing






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 25 at 20:54









Phelype Oleinik

20.5k54378




20.5k54378










asked Sep 25 at 20:51









larry77

412




412





bumped to the homepage by Community 21 hours ago


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 21 hours ago


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














  • from the log file it seems that you have a quite old texlive installation. i would recommend to use github.com/scottkosty/install-tl-ubuntu instructions on how to uninstall completely previous installation and to install a newer version
    – Yorgos
    Sep 25 at 22:39


















  • from the log file it seems that you have a quite old texlive installation. i would recommend to use github.com/scottkosty/install-tl-ubuntu instructions on how to uninstall completely previous installation and to install a newer version
    – Yorgos
    Sep 25 at 22:39
















from the log file it seems that you have a quite old texlive installation. i would recommend to use github.com/scottkosty/install-tl-ubuntu instructions on how to uninstall completely previous installation and to install a newer version
– Yorgos
Sep 25 at 22:39




from the log file it seems that you have a quite old texlive installation. i would recommend to use github.com/scottkosty/install-tl-ubuntu instructions on how to uninstall completely previous installation and to install a newer version
– Yorgos
Sep 25 at 22:39










2 Answers
2






active

oldest

votes

















up vote
1
down vote













Check what /root/.texlive2016/texmf-config/web2c/updmap.cfg contains, and remove the line Map emerald.map from it. Best would be anyway to remove the while file. Then run updmap-sys again.






share|improve this answer




























    up vote
    0
    down vote













    And thanks for your suggestions!
    Finally, what appears to be working for me is a combination of the following



    How to remove everything related to TeX Live for fresh install on Ubuntu?



    https://askubuntu.com/questions/616309/cannot-configure-tex-common-after-failed-font-installation



    I think the real problem was some leftover of the latex installation under root. Tricky stuff! I have never thought that I should post about how to uninstall latex.






    share|improve this answer





















      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%2f452516%2fdebian-stretch-trouble-with-latex-installation%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      Check what /root/.texlive2016/texmf-config/web2c/updmap.cfg contains, and remove the line Map emerald.map from it. Best would be anyway to remove the while file. Then run updmap-sys again.






      share|improve this answer

























        up vote
        1
        down vote













        Check what /root/.texlive2016/texmf-config/web2c/updmap.cfg contains, and remove the line Map emerald.map from it. Best would be anyway to remove the while file. Then run updmap-sys again.






        share|improve this answer























          up vote
          1
          down vote










          up vote
          1
          down vote









          Check what /root/.texlive2016/texmf-config/web2c/updmap.cfg contains, and remove the line Map emerald.map from it. Best would be anyway to remove the while file. Then run updmap-sys again.






          share|improve this answer












          Check what /root/.texlive2016/texmf-config/web2c/updmap.cfg contains, and remove the line Map emerald.map from it. Best would be anyway to remove the while file. Then run updmap-sys again.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 26 at 0:50









          norbert

          6,2181231




          6,2181231






















              up vote
              0
              down vote













              And thanks for your suggestions!
              Finally, what appears to be working for me is a combination of the following



              How to remove everything related to TeX Live for fresh install on Ubuntu?



              https://askubuntu.com/questions/616309/cannot-configure-tex-common-after-failed-font-installation



              I think the real problem was some leftover of the latex installation under root. Tricky stuff! I have never thought that I should post about how to uninstall latex.






              share|improve this answer

























                up vote
                0
                down vote













                And thanks for your suggestions!
                Finally, what appears to be working for me is a combination of the following



                How to remove everything related to TeX Live for fresh install on Ubuntu?



                https://askubuntu.com/questions/616309/cannot-configure-tex-common-after-failed-font-installation



                I think the real problem was some leftover of the latex installation under root. Tricky stuff! I have never thought that I should post about how to uninstall latex.






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  And thanks for your suggestions!
                  Finally, what appears to be working for me is a combination of the following



                  How to remove everything related to TeX Live for fresh install on Ubuntu?



                  https://askubuntu.com/questions/616309/cannot-configure-tex-common-after-failed-font-installation



                  I think the real problem was some leftover of the latex installation under root. Tricky stuff! I have never thought that I should post about how to uninstall latex.






                  share|improve this answer












                  And thanks for your suggestions!
                  Finally, what appears to be working for me is a combination of the following



                  How to remove everything related to TeX Live for fresh install on Ubuntu?



                  https://askubuntu.com/questions/616309/cannot-configure-tex-common-after-failed-font-installation



                  I think the real problem was some leftover of the latex installation under root. Tricky stuff! I have never thought that I should post about how to uninstall latex.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 26 at 6:59









                  larry77

                  412




                  412






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f452516%2fdebian-stretch-trouble-with-latex-installation%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

                      サソリ

                      広島県道265号伴広島線

                      Setup Asymptote in Texstudio