0

I just installed a fresh copy of MiKTex 2.9 and I am unable to choose the package repository. What I do:

MiKTex Package Manager (Admin) -> Repository -> Change Package Repository -> Packages shall be installed from the Internet -> Next

This is the error I get: enter image description here

Please help me find a solution, I am unable to install any package (also on-the-fly installation doesn't work)

  • 1
    I recall seeing that same problem long ago... Apparently MikTeX must connect to a server, in order to get a list of servers. But if the current default server is unavailable, it cannot get the list of other servers! I do not have MikTeX now, but if I recall, the solution was to manually locate the file that names the current server, and edit it (as text) to a different mirror. List of mirrors is onine somewhere. – user139954 Nov 7 '17 at 0:11
  • After thinking about it... As I recall, the problem was caused this way: When I first installed MikTeX, it used an FTP connection. Later, when I tried to update, I was behind a university firewall that did not allow FTP connections, just HTTP and HTTPS. So I couldn't connect to the MikTeX repo, and I couldn't get a list of other repos. Had to manually change to an HTTP repo. Went to a local coffee shop with WiFi, updated there, switched repo to HTTP while there, then I could update back at the uniersity. – user139954 Nov 7 '17 at 2:18
  • Thanks for the information! Can you tell me how to change the repository to HTTP? I have been searching for an hour and can't seem to find the option. – Andrei Nov 7 '17 at 8:18
  • Update: It was due to the connection on my computer. I am still not able to figure why I cannot connect through LAN to the repository. I set up my mobile phone as wireless hotspot and connected through WiFi and everything worked as it should. Switching back to LAN the problem persisted. At least I know where the problem lies... – Andrei Nov 7 '17 at 9:36
  • Happy to hear it was solved. I would have explicitly told you how to change to HTTP if I had MikTeX in front of me, but I don't, so I had to work from memory. I requires searching through files, editing, etc. Easier to fin d a different WiFi connection. – user139954 Nov 7 '17 at 15:38

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.