Am 24.11.2011 18:14, schrieb Manuel Collado:
> After downloading a full MiKTeX system into a local repository, it seems
> appropriate to update it from time to time. The goal is to synchronize
> the local repository with a remote MiKTeX repository, not to update a
> MiKTeX installation.
>
> After a careful reading of the documentation and several unsuccessful
> attempts, it seems that neither the setup nor the package manager
> utilities provide the required functionality. Right?
>
> A general purpose mirroring tool, like wget or rsync could probably be
> used, but before reinventing the wheel it would be nice to know if there
> is a better way of achieving the task.
>
> Has anybody already faced and solved the problem? Any recommendation?
I once wrote a bash (-> cygwin) script
(
http://www.ctan.org/pkg/miktex_update) for not just that task.
miktex_update -lbui -r C:/Repository
should do what you want. Using both -u and -i is undocumented, but will
switch off both updating and installing new packages. So just the
repository will be synchronized.
OTOH, the above call will be boiled down to just a rsync call. Therefore
the script might be overkill! ;-)
Also use the other features!
Josef