Hi,
I'm using MiKTeX 2.9 and TeXworks as editor. In the first place, how could I make MiKTeX automatically install missing packages once called in the editor?
In fact, at the moment I'm trying to install them from MiKTeX package list but I get a connection error.
Please, could you advise about that?
Thanks.
Best regards,
Antonio
MiKTeX and proTeXt ⇒ Automatic Installation of missing Packages
NEW: TikZ book now 40% off at Amazon.com for a short time.

Automatic Installation of missing Packages
I'll be more clear and specific.
I'm having some problems at downloading the missing packages. Indeed, despite I had selected the option "installing missing packages on the fly" in my settings, the system is not able to find them.
Apparently there is a connection issue since when I try to use both the default package repository and others links the system lets me choose (I tried the UK's ones first, should I choose anyone else in particular according to you?) I get the following error types.
Hope some of you could be of help.
Thanks.
Best regards,
Antonio
I'm having some problems at downloading the missing packages. Indeed, despite I had selected the option "installing missing packages on the fly" in my settings, the system is not able to find them.
Apparently there is a connection issue since when I try to use both the default package repository and others links the system lets me choose (I tried the UK's ones first, should I choose anyone else in particular according to you?) I get the following error types.
- The operation could not be completed for the following reason:
orWindows API error 5: Denied Access - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Hope some of you could be of help.
Thanks.
Best regards,
Antonio
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Automatic Installation of missing Packages
Make sure by looking at the MiKTeX repositories that the chosen one is not offline. The one in Ireland you mentioned in your last post is concerned. Hence you have to choose another repository.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Automatic Installation of missing Packages
I had a first look to them.
I entered th Settings-->Packages menu and I changed the default link with the following one (it's one of the UK's servers shown as online):
https://anorien.csc.warwick.ac.uk/mirro ... ros/latex/
OR
https://anorien.csc.warwick.ac.uk/mirro ... x/contrib/
Anyway, when I try to connect to it, I get the following error:
"get proxy host by name failed in tcp_connect()"
Another doubt. Generally speaking, for each server I try, should I always refer to the CTAN directory to find the packages connection?
Thanks.
Antonio
I entered th Settings-->Packages menu and I changed the default link with the following one (it's one of the UK's servers shown as online):
https://anorien.csc.warwick.ac.uk/mirro ... ros/latex/
OR
https://anorien.csc.warwick.ac.uk/mirro ... x/contrib/
Anyway, when I try to connect to it, I get the following error:
"get proxy host by name failed in tcp_connect()"
Another doubt. Generally speaking, for each server I try, should I always refer to the CTAN directory to find the packages connection?
Thanks.
Antonio
Re: Automatic Installation of missing Packages
Hi,
I made some progresses. I brought some changes to the safety setting (permissions/administrator full rights) according to what mentioned here (http://tex.stackexchange.com/questions/ ... kz-picture). That's probably cause when I installed MiKTex I selected the option "install only for me" rather than "install for all users".
However, now I'm able to use package manager to install the packages by selecting them from the list and connecting to the following link (https://anorien.csc.warwick.ac.uk/mirro ... x/contrib/) which it's working properly.
Nevertheless, MiKTex is still not asking me to install missing packages when compiling.
Any idea about the reasons why it is not doing that?
Thanks.
Antonio
I made some progresses. I brought some changes to the safety setting (permissions/administrator full rights) according to what mentioned here (http://tex.stackexchange.com/questions/ ... kz-picture). That's probably cause when I installed MiKTex I selected the option "install only for me" rather than "install for all users".
However, now I'm able to use package manager to install the packages by selecting them from the list and connecting to the following link (https://anorien.csc.warwick.ac.uk/mirro ... x/contrib/) which it's working properly.
Nevertheless, MiKTex is still not asking me to install missing packages when compiling.
Any idea about the reasons why it is not doing that?
Thanks.
Antonio