LaTeX forum ⇒ MiKTeX and proTeXtAutomatic Installation of missing Packages

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
ilsalix85
Posts: 5
Joined: Tue Nov 05, 2013 12:29 pm

Automatic Installation of missing Packages

Postby ilsalix85 » Tue Nov 05, 2013 2:37 pm

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

Tags:

ilsalix85
Posts: 5
Joined: Tue Nov 05, 2013 12:29 pm

Postby ilsalix85 » Thu Nov 07, 2013 2:52 pm

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.

  1. The operation could not be completed for the following reason:
    Windows API error 5: Denied Access

    or
  2. 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.

The same error occurs when I try to load the packages from Package manager.

Hope some of you could be of help.

Thanks.

Best regards,

Antonio

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Thu Nov 07, 2013 6:42 pm

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
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

ilsalix85
Posts: 5
Joined: Tue Nov 05, 2013 12:29 pm

Postby ilsalix85 » Thu Nov 07, 2013 10:07 pm

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

ilsalix85
Posts: 5
Joined: Tue Nov 05, 2013 12:29 pm

Postby ilsalix85 » Fri Nov 08, 2013 11:33 am

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


Return to “MiKTeX and proTeXt”

Who is online

Users browsing this forum: No registered users and 1 guest