Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I ran the TeX Live 2012 update this morning on my 64-bit Kubuntu 12.04 linux system (tlmgr update --all) and received the following error:

tlmgr: package log updated at /usr/local/texlive/2012/texmf-var/web2c/tlmgr.log
running mktexlsr ...
done running mktexlsr.
running mtxrun --generate ...
done running mtxrun --generate.
running updmap-sys ...

updmap-sys failed (status 1), output:
updmap is using the following updmap.cfg files (in precedence order):
  /usr/local/texlive/2012/texmf/web2c/updmap.cfg
  /usr/local/texlive/2012/texmf-dist/web2c/updmap.cfg
dvips output dir: "/usr/local/texlive/2012/texmf-var/fonts/map/dvips/updmap"
pdftex output dir: "/usr/local/texlive/2012/texmf-var/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/usr/local/texlive/2012/texmf-var/fonts/map/dvipdfmx/updmap"
pxdvi output dir: "/usr/local/texlive/2012/texmf-var/fonts/map/pxdvi/updmap"

ERROR:  The following map file(s) couldn't be found:
        ${PKGNAME}.map (in /usr/local/texlive/2012/texmf-dist/web2c/updmap.cfg)

        Did you run mktexlsr?

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


tlmgr: exiting unsuccessfully (status 1).

Running updmap-sys --syncwithtrees gives the following:

david@dd:~$ updmap-sys --syncwithtrees
updmap is using the following updmap.cfg files (in precedence order):
  /usr/local/texlive/2012/texmf-config/web2c/updmap.cfg
  /usr/local/texlive/2012/texmf/web2c/updmap.cfg
  /usr/local/texlive/2012/texmf-dist/web2c/updmap.cfg
Missing map files found, disabling
        ${PKGNAME}.map (in /usr/local/texlive/2012/texmf-dist/web2c/updmap.cfg)
in /usr/local/texlive/2012/texmf-config/web2c/updmap.cfg
Do you really want to continue (y/N)? y
answer =y=
Creating new config file /usr/local/texlive/2012/texmf-config/web2c/updmap.cfg
Use of uninitialized value in subroutine entry at /usr/local/texlive/2012/bin/x86_64-linux/updmap line 1332,  line 1.
Can't use string ("") as a subroutine ref while "strict refs" in use at /usr/local/texlive/2012/bin/x86_64-linux/updmap line 1332,  line 1.

I'm lost at this point. Can anyone at TUG help?

share|improve this question
add comment

3 Answers

This seems to be a recently reported problem, and I suspect there will be a more permanent fix distributed, (as confirmed by Norbert's answer) but for the moment, edit the file (you will probably need to use an editor that allows you to authenticate to save, or invoke your editor with sudo.)

/usr/local/texlive/2012/texmf-dist/web2c/updmap.cfg

In it you will find a line

${PKGNAME}.map

As egreg notes in the comments, this is an error in the bguq, so you can change this line to

bguq.map

and save the file. Then run:

sudo updmap-sys

And you should be fine.

share|improve this answer
    
The culprit is bguq, for which the corresponding bguq.tlpsrc file says execute addMap ${PKGNAME}.map. Changing the entry in updmap.cfg to bguq.map and running sudo updmap-sys solves the problem in the immediate. –  egreg Jul 24 '12 at 19:49
    
Thanks Alan! Your fix seemed to do the trick. Cheers! –  DPLentini Jul 24 '12 at 19:54
    
Thanks ! I had the same problem with MacTeX 2012 and your fix does the trick. –  Alain Matthes Jul 25 '12 at 6:29
    
I owe you a beer, Alan. :) –  Paulo Cereda Jul 25 '12 at 12:21
add comment

Fixed already in today's update. For those who had the same problem, just wait until the respective CTAN mirror is updated.

share|improve this answer
add comment

I had the same problem and simply changed the repository source, which then deinstalled some packages I didn't care about and then the updating worked fine. So just change your source.

share|improve this answer
    
Thanks, Hurwicz! I tried Alan's suggestion, and that seemed to fix the problem. –  DPLentini Jul 24 '12 at 19:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.