[Tex/LaTex] MikTex Packages Download Failure

miktexpackages

I've just installed the Basic version of MikTex 2.9
When i compile a file using pdflatex , it attempts to download the package "miktex-zzdb1-2.9.tar.lzma" .

It takes about 2-3 mins . Then it proceeds . ( After failing to download ).

I know that Basic version will add packages when needed . But each time i compile , it attemps to download the same package and fails. I'm getting impatient . ( In Linux , same file compiles in 1 sec )

Do i need to configure anything ? My Internet connection is very active

The commandline : [NOTE THIS WILL VARY PER USER]

downloading http: //mirror-cybernet.lums.edu.pk/pub/ctan/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma…
pdflatex: A timeout was reached while receiving data from the server.

Best Answer

[Edited 2019 to show latest number of files (3) needed]

miktex-zzdbl1-2.9.tar.lzma is one of the currently three "database" packages needed by the package management of the miktex console. It contains the actual list of packages. If miktex can't download miktex-zzdbl1, miktex-zzdbl2 and miktex-zzdbl3 the package installation of the console and the on-the-fly installation can't work.

The failure can be temporary (that happens) but it also can be due to something in your system (firewall e.g.). Try in the miktex console a different repository. If this doesn't work: You can also download the three miktex-zzdbl-files and the packages you want to install from CTAN (tex-archive/systems/win32/miktex/tm/packages). Put them all in an empty folder and use this folder as local repository.

Related Question