Local Server: update fails - solution

If you found a bug in Illarion or need help ask here. / Wenn Du einen Fehler in Illarion gefunden hast oder Hilfe benötigst, frage hier.

Moderator: Developers

Locked
User avatar
Seajiha
Developer
Posts: 95
Joined: Sun Apr 03, 2016 12:02 pm

Local Server: update fails - solution

Post by Seajiha »

As illarion is now using https the ~/update command will most likely fail. To fix it you must do the following *once*:

1) Log into your local server with putty
2) Write and submit: sudo nano /etc/apt/sources.list.d/illarion.list
3) A text editor will open, with text only on the first line. In front of all text on this line place a #
4) Save and close the file (Ctrl-X, press J then and then enter)
5) Write and submit: sudo apt-get update
6) Write and submit: sudo apt-get install apt-transport-https
7) Confirm the question if installing is okay with: J
8 ) Write and submit: sudo nano /etc/apt/sources.list.d/illarion.list
9) Remove the leading # that you have just added, save and quit again using Ctrl-X, J, enter
10) Write and submit: sudo apt-get update

11) Update your local server as usual with ~/update
Locked