MultiMC / Launcher

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
https://multimc.org/
Other
4.32k stars 883 forks source link

[Ubuntu deb] wget fails silently, report download error to user #1570

Open thomas-rooty opened 8 years ago

thomas-rooty commented 8 years ago

Hi all !

I recently install Linux Ubuntu on my computer because.. Windows is ? Sh\ ? And now I have a problem to launch MultiMC, I double click on it, nothing appear so, i've tried to do : cd /home/user/Desktop ./MultiMC And now, a bug message appears http://pastebin.com/kq4kuimb (i'm sorry its in French because i'm French :/)

So that's all ! I hope you can help me because this is very annoying to play Minecraft on the default launcher :-1:

Regards,

Loetkolben commented 8 years ago

I assume you downloaded and installed the .deb from multimc.org and are now trying to start it via the shortcut? (If not yet used MMC really on linux, so this is just my best guess...) If that' right, try executing the following command in the terminal: cd "${XDG_DATA_HOME-$HOME/.local/share}/multimc" && ls What does it output? My guess would be that wget fails when you try to start MMC the first time (the packet just installs a downloader that downloads MMC on first launch)...

thomas-rooty commented 8 years ago

Nothing it's just directing me at the folder oo'

root@linuxphasme:/home/phasme# cd "${XDG_DATA_HOME-$HOME/.local/share}/multimc" && ls root@linuxphasme:~/.local/share/multimc#

Loetkolben commented 8 years ago

First of all, for the love of all good, dont use the root user for daily work (or running MMC). If you're not root normally, execute this command as your normal user. Now, depending on your system architecture, run these commands: (32bit) wget --progress=dot:force "https://files.multimc.org/downloads/mmc-stable-lin32.tar.gz" (64bit) wget --progress=dot:force "https://files.multimc.org/downloads/mmc-stable-lin64.tar.gz" in the directory you were just cd'ed to by my first command and give me the output.

thomas-rooty commented 8 years ago

When I try to use wget --progress=dot:force "https://files.multimc.org/downloads/mmc-stable-lin64.tar.gz" that say Unable to establish a SSL Connection (traduction from French)

Loetkolben commented 8 years ago

Ok, there we have the problem... The downloader starts wget to download the MMC release, and wget fails because of the SSL problem, and than tar obviosly fails decompressing a noexistant archive. Can you visit https://multimc.org in a web browser? If yes, as a workaround, dowload the respective archive from https://multimc.org/#Download%20&%20Install (The 'Generic' ones) and save it to ~/.local/share/multimc, than launch MMC again. It should work now.

@peterix (since you're the one responsible for the deb according to it's metadata): Maybe check if wget succeded downloading and outputting an error on wget fail instead of just silently failing? I'll leave the scripting to you guys.

thomas-rooty commented 8 years ago

Wow. You are a god ! :dancer: That work ! Thanks a lot ! I'll try to install Instance, mod etc to see if its working nice :) Thank you a lot ! You are genius :+1:

thomas-rooty commented 8 years ago

A little question, is there a SOLVED tag to put ? If yes, how ? x) Thank's !

Loetkolben commented 8 years ago

Thanks - So it works in the browser? Well, than there seems to be a problem with wget and SSL, but I'll leave this to the linux pros :p About the solved tag / closing the issue: Leave it open, the real bug discoverd (the download script failing sliently) has not yet been fixed....

thomas-rooty commented 8 years ago

Okey for the tag, and Yes, that works in the browser =D