Because I am using a Proxy in our company using the auto install of the MiKTeX Package Manager does not work for me. Instead I tried installing it manual by downloading the pgf.tar.lzma from a mirror.

When I try to add the package I get the following error message:

package="koma-script", arhiveFile="C:\Users\user\Documents\latex-packages\koma-script.tar.lzma", expectedMD5="8540ac6593530e7b58d865a2f227ea5e", actualMD5="5faf6bfa841513bcfbd4a968ca52a495"

Is there a way to bypass the checksum mechanism?

  • unless I misunderstood the question, if the checksum is wrong it will be the wrong file (or a truncated file), so bypassing the check won't help Oct 16 '17 at 7:00
  • if auto-install doesn't work you could use texlive rather than miktex which doesn't try to download packages on the fly in the same way. Oct 16 '17 at 7:02
  • It is not enough to download only the pgf.tar.lzma, you also need the suitable miktex databases (the two files starting with miktex-zz). Put them in the same folder (some folder outside miktex) as the pgf-lzma and then use this folder as local repository. Oct 16 '17 at 7:05
  • @UlrikeFischer I have them already - otherwise it would not work at all.
    – Curunir
    Oct 16 '17 at 7:10
  • 1
    BTW: Manual KOMA-Script installation could alternatively be done using the installation package from the KOMA-Script repositoy. Oct 16 '17 at 7:22

If you create a local repository for MiKTeX you always should download all files from the same server/mirror. Otherwise it could happen, that the version information at the package management files miktex-zzdb1-2.9.tar.lzma and miktex-zzdb2-2.9.tar.lzma do not correspond with the packages you've downloaded.

So for installation of KOMA-Script from a local repository you have to download at least miktex-zzdb1-2.9.tar.lzma, miktex-zzdb2-2.9.tar.lzma and koma-script.tar.lzma from the same server, copy it to one (new) directory and do the installation from that local directory. Note, if you are using the generic download URL http://mirrors.ctan.org/systems/win32/miktex/tm/packages/… for the download, the mirror can be different for each file. So please use a dedicated server address from the CTAN mirrors list.

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.