8

I am trying to compile a presentation with beamer on Windows. However, even the most simple example presentation aborts. Instead, I am told:

starting package maintenance...
installation directory: C:\Users\admin\AppData\Roaming\MiKTeX\2.9
package repository: http://mirror.physik-pool.tu-berlin.de/tex-archive/systems/win32/miktex/tm/packages/
lightweight database digest: 3a990fd9300abc5d0d8c99b2064abddb
going to download 2628706 bytes
going to install 346 file(s) (1 package(s))
downloading http://mirror.physik-pool.tu-berlin.de/tex-archive/systems/win32        /miktex/tm/packages/beamer.tar.lzma...
2628706 bytes, 282.04 KB/Sec
extracting files from beamer.tar.lzma...

Unfortunately, the package beamer could not be installed.Please check the log file:
C:/Users/admin/AppData/Local/MiKTeX/2.9/miktex/log/pdflatex.log
======================================================================

The log file says:

2017-05-24 13:40:57,040+0200 FATAL pdflatex - Info: path="C:\Users\admin\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer/beamer.cls"
2017-05-24 13:40:57,040+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2017-05-24 13:40:57,040+0200 FATAL pdflatex - Line: 286
2017-05-24 13:41:44,697+0200 INFO  pdflatex - installing package beamer triggered by tex\latex\beamer\translator\translator.sty
2017-05-24 13:41:48,400+0200 INFO  pdflatex - mpm: starting package maintenance...
2017-05-24 13:41:48,400+0200 INFO  pdflatex - mpm: installation directory: C:\Users\admin\AppData\Roaming\MiKTeX\2.9
2017-05-24 13:41:48,400+0200 INFO  pdflatex - mpm: package repository: ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/
2017-05-24 13:41:48,633+0200 INFO  pdflatex - mpm: lightweight database digest: 3a990fd9300abc5d0d8c99b2064abddb
2017-05-24 13:41:48,649+0200 INFO  pdflatex - mpm: going to download 2628706 bytes
2017-05-24 13:41:48,649+0200 INFO  pdflatex - mpm: going to install 346 file(s) (1 package(s))
2017-05-24 13:41:48,655+0200 INFO  pdflatex - mpm: downloading ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/beamer.tar.lzma...
2017-05-24 13:41:57,484+0200 INFO  pdflatex - mpm: 2628706 bytes, 290.95 KB/Sec
2017-05-24 13:41:57,504+0200 INFO  pdflatex - mpm: extracting files from beamer.tar.lzma...
2017-05-24 13:41:58,245+0200 FATAL pdflatex - Windows API error 32: The process cannot access the file because it is being used by another process.

2017-05-24 13:41:58,245+0200 FATAL pdflatex - Info: path="C:\Users\admin\AppData\Roaming\MiKTeX\2.9\tex/latex/beamer/beamer.cls"
2017-05-24 13:41:58,245+0200 FATAL pdflatex - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp
2017-05-24 13:41:58,245+0200 FATAL pdflatex - Line: 286

What exactly is happening here and how can I use the beamer package on Windows?

  • 1
    Something blocks a file from the package. Close everything (e.g. pdf-viewer with open documentation). Then start the package manager, synchronize (menu repositories) and try to install the package from there. – Ulrike Fischer May 24 '17 at 19:01
  • Were you compiling some file when you tried to install/update? – Bernard May 24 '17 at 19:01
  • @Bernard: I never explicitly installed/updated anything. I guess it did so on the fly. – shuhalo May 24 '17 at 19:06
  • @UlrikeFischer: Thank you, this worked. Your quick help saved me a lot of time and is highly appreciated. – shuhalo May 24 '17 at 19:09
  • It's better to install by yourself with MPM, as it will be installed in the main MiKTeX directory, not in your home directory. – Bernard May 24 '17 at 19:10
3

Converting Ulrike Fischers comment into a CW answer:

Something blocks a file from the package. Close everything (e.g. pdf-viewer with open documentation). Then start the package manager, synchronize (menu repositories) and try to install the package from there.

4

In Windows goto All Programs the Miktex 2.9 then Maintenance(admin) then Miktex Packet Manager(Admin). Select beamer under column name . Then select + on the top left. Select translator under column name . Then select + on the top left.

1

I had a similar problem with a fresh install of MikTeX (2018-11-21).

2018-11-21 13:24:10,856+0100 INFO  pdflatex - mpm: extracting files from beamer.tar.lzma...
2018-11-21 13:24:12,924+0100 FATAL pdflatex - The installed file does not exist.
2018-11-21 13:24:12,925+0100 FATAL pdflatex - Info: fileName="C:\Program Files\MiKTeX 2.9\tex\latex\beamer\translator\translator.sty"
2018-11-21 13:24:12,925+0100 FATAL pdflatex - Source: Libraries\MiKTeX\Core\Session\findfile.cpp
2018-11-21 13:24:12,925+0100 FATAL pdflatex - Line: 59

I solved it by manuall installing package translator from MikTeX Update (Admin) tool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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