## Local Package Repository

Help
2008-07-01
2013-04-22

• Michael Schmid
2008-07-01

Yes, this question again. I know it is the most asked question in this forum. When I search for “Local Package Repository” I get more than 2500 results. I looked through the first 50 entries, but those which match my problem don’t solve it. I also read the MikTeX manual, the FAQ and searched the rest of the WWW, spending hours without searching a solution to my simple small problem, which is:

The MikTeX Package Manager does not work in my office due to firewall restrictions. So my plan would be this: manualy download the required .cab or .lzma files by FTP to a local directory, and then let the package manager install them from there. So I wanted to define that local directory as the Local Package Repository, but I only get the usual error message:

MiKTeX Problem Report
Message: C:\Program Files\MikTeX Package Repository does not seem to be a local package repository.
Data: C:\Program Files\MikTeX Package Repository
Source: C:\work3\miktex-2.7\Libraries\MiKTeX\UI\MFC\SiteWizLocal.cpp
Line: 207
MiKTeX: 2.7
OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
PowerUser: no
SharedSetup: yes
BinDir: C:\Program Files\MiKTeX 2.7\miktex\bin
Root1: C:\Documents and Settings\%myusername%\Local Settings\Application Data\MiKTeX\2.7
Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7
Root3: C:\Program Files\MiKTeX 2.7
Install: C:\Program Files\MiKTeX 2.7
UserData: C:\Documents and Settings\%myusername%\Local Settings\Application Data\MiKTeX\2.7
CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7
CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7

The folder contains two files: koma-script.tar.lzma (downloaded from CTAN) and that ominous Readme.txt, a text file with one single line:
This folder contains the "Small MiKTeX" package set.

Any tips what I’ve done wrong?

• U_Fischer
2009-06-09

Chances that such additions gets in the documentation are higher if there is not much work involved. So I suggest:

Write a draft explaining the issue ready for copy and paste and then add a feature request "Please add the following text to the documentation of miktex at section <whereever you would looking for it> and/or the FAQ at ...".

Ulrike Fischer

• U_Fischer
2008-07-01

miktex-zzdb2-2.7.tar.lzma and miktex-zzdb1-2.7.tar.lzma

Put them in the same folder as the packages and then use this folder
as local repository.

Ulrike Fischer

• Justin Bailey
2009-06-08

I had the same problem and spent about an hour searching around trying to find out what was wrong.

Maybe this solution could be made a little more prominent? Most search results come from 2002 and don't apply anymore!

Justin

• Michael Schmid
2008-07-02

That has helped; thank you very much!

• Christian
2010-10-04

Hi,

Im facing the same issue, that:

The MikTeX Package Manager does not work in my office due to firewall
restrictions.

, So if this is the work around

manualy download the required .cab or .lzma files by FTP to a local
directory

, where do I download the required cab files from for a local rep ? can I find
them combined somewhere ?

Sorry if im reposting, but cant find a more uptodate post.

Brgds, Christian

• Hello,

I am facing the same issue as you guys.

miktex-zzdb1-2.9.tar.tar
miktex-zzdb2-2.9.tar.tar
koma-script.tar.lzma

But Miktex still doesn't recognize the local package depository. The error report is:

MiKTeX Problem Report
Message: C:\Miktex packages does not seem to be a local package repository.
Data: C:\Miktex packages
Source: Libraries\MiKTeX\UI\MFC\SiteWizLocal.cpp
Line: 206
MiKTeX: 2.9
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Invokers: explorer
PowerUser: no
Root0: C:\Documents and Settings\Z544823\Application Data\MiKTeX\2.9
Root1: C:\Documents and Settings\Z544823\Local Settings\Application Data\MiKTeX\2.9
Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.9
Root3: C:\Program Files\MiKTeX 2.9
UserInstall: C:\Documents and Settings\Z544823\Application Data\MiKTeX\2.9
UserConfig: C:\Documents and Settings\Z544823\Application Data\MiKTeX\2.9
UserData: C:\Documents and Settings\Z544823\Local Settings\Application Data\MiKTeX\2.9
CommonInstall: C:\Program Files\MiKTeX 2.9
CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.9
CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.9

Did I put all the needed file in the folder? Any idea how to make it work?