# Package repository down, how to relocate?

I would like to use the function of TeXnicCenter 1.0, where is automatically downloads missing packages used. The problem is, that the repository it wants to download from does not exist anymore (the one on piotrkosoft.net).

How do I get TeXnicCenter to try with another repository?

-
Hi imzs, Welcome to tex exchange! I think you might be a little confused- TeXnicCenter does not manage the packages; if you're on Windows then it will be handled by either MiKTeX or TeXlive, depending on which distribution you installed. Can you update us with which distribution you are using? –  cmhughes Apr 24 '12 at 11:40
Hi! Sure I am confused. :) I have just started with LaTeX. I'm using MiKTeX 2.9. –  imzs Apr 24 '12 at 11:47
You can change the repository in the miktex package manager. But you should be aware that texniccenter often disturbs the on-the-fly-installation. –  Ulrike Fischer Apr 24 '12 at 12:20
In TXC 1.0 there is a bug regarding on-the-fly-installation from MiKex. It is fixed in TXC 2.0, which is officially in alpha status, but works for me with some small problems not relevant for TeX output routine (I would consider it in beta status …). –  Speravir Apr 24 '12 at 16:47

## 2 Answers

To change the repository in MiKTeX you need to open the package manager. Then go to Repository > Change Package Repository.

Then you have to choose the option "Packages shall be installed from the Internet".

After this you should be able to choose a new repository.

-
I don't know why this answer got and upvoted. If the repository is down, then the 3rd picture would only say repository is down and wouldn't be able to retrieve other repositories(at least this is the problem that I am getting) –  Sarp Kaya May 22 '14 at 11:52
@SarpKaya It seems that at the moment no repository can be reached through the MiKTeX package manager ("The MiKTeX package repository is down for maintenance."). –  Thorsten May 22 '14 at 12:02
Yes I know, but I think the question is asking, how to change the repository for the moments like this, rather than other times when it is actually working. –  Sarp Kaya May 22 '14 at 12:04
@SarpKaya No, the question is about a specific repository, i.e. piotrkosoft.net. –  Thorsten May 22 '14 at 12:05

Use the "packages shall be installed from a directory" option instead.

Download the packages you want from http://ftp.ctex.org/mirrors/CTAN/systems/win32/miktex/tm/packages/ to a directory on your own system.

Also download the files

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

so that the directory is recognized as a package repository (change 2.9 to the relevant version number, presumably).

-