[Tex/LaTex] MiKTeX Package Manager freezes and crashes when I install new package

installingmiktexpackageswindows

I am not new to TeX in general, but very new to TeX on Windows. In the past I always had a Linux system at hand to create my documents in TeX. However, I don't have that opportunity anymore and want to create TeX documents on my Windows (7, 64 bit) machine.

I looked around for a bit and downloaded ProTeXt (http://www.tug.org/protext). Installation went fine (meaning there were no errors reported by the installer). So I open TeXworks, open a .tex file that I had created a while back and hit "Typeset". Shortly after I am informed that scrreprt.cls is missing. So I open the package manager to install koma-script. As soon as I hit the install button I see a new window that downloads something, however the status bars don't move and the update statistics are empty (=no numbers at all). After a few seconds the whole thing freezes and I get another window saying "MiKTeX Package Manager has stopped working". Any kind of help is highly appreciated!

Best Answer

Seems that ProTeXt is based (or you have choosed it while installation) on basic MiKTeX, which has KOMA-Script not installed by default. So you have to download and install it.

In my opinion it is better to install the complete MiKTeX, tooks more time, but you can work offline the internet.

The installation can freeze on windows for several reasons. So what the reason is in your case is hard to say without more informations.

In your case, after new installation of MiKTeX, I would suggest to

  1. reboot windows,
  2. restart MiKTeX package management,
  3. check very carefully your internet connection and
  4. start installing of KOMA-Script again.

It is possible that you lose the internet connection, then just restart MiKTeX package management. Usually MiKTeX recognize this and completes the downloading and installing ...