14

I used MiKTeX 2.9 on windows.
I have downloaded a package I want to install from the internet (manually, not through MiKTeX). The archive (*.lmza) containing the package was saved to a directory on my C:\ drive.
Through MikTeX -> Maintenance -> Settings -> Packages -> Change...
I can select the directory in which I have saved the archive containing the package.
However, if I choose Packages shall be installed from a directory and choose the location of the package, I get this error message:
C:\my\package\is\here does not seem to be a local package repository.
What does it take for a directory/folder to become a local package repository?

21

In addition to any package archive you store in any directory, at least these three other files need to be present:

miktex-zzdb1-2.9.tar.lzma
miktex-zzdb2-2.9.tar.lzma
miktex-zzdb3-2.9.tar.lzma 

These three contain the complete package list. Once those archives are present, the directory/folder can be specified as local package repository


These CURRENT archives can be found at CTAN.
Use this Link above and in browser search for miktex-zz

  • And where did you find these files? – Kore-N Jul 5 '17 at 14:44
  • 1
    @Kore-N see my edit – Schorsch Jul 5 '17 at 23:30
  • 1
    I also had to add miktex-zzdb3-2.9.tar.lzma - from ctan. I don't know why it didn't get downloaded with the option --package-set=complete download....?!?!? – gilu Jan 8 at 6:06
-1

Though I used MiKTeX Net Installer to download all the packages but still following file was missing:

miktex-zzdb2-2.9.tar.lzma

and I got the same error message, as posted in the question then I downloaded the missing file from following Website. http://ftp.uni-bayreuth.de/packages/TeX/systems/win32/miktex/tm/packages/

Now I can install a package from the local repository.

Thanks a lot.

  • The approved location of that file is in the accepted answer your location is a specific mirror and may not always be available – KJO Apr 14 at 19:04

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.