VHSgunzo / lux-wine

Easy launch of your Windows applications and games with Wine/Proton
MIT License
99 stars 8 forks source link

can't install after manual delete lux-wine folder #24

Closed vanbwodonk closed 5 months ago

vanbwodonk commented 5 months ago

I used arch linux, install command get this error:

❯ curl -sL lwrap.github.io|bash
[ INFO ][2024.04.19 15:36:38]: Found RunImage internal config: Run.rcfg 
[ INFO ][2024.04.19 15:36:38]: Remounting RunImage with squashfuse... 
[ INFO ][2024.04.19 15:36:38]: Autorun mode: lwrap 
[ WARNING ][2024.04.19 15:36:38]: The HOSTEXEC option is enabled! 
[ INFO ][2024.04.19 15:36:38]: Installing Lux Wine... 
[ ERROR ][2024.04.19 15:36:40]: Failed to install Lux Wine! 

How to clean uninstall? and then install again?

VHSgunzo commented 5 months ago

@vanbwodonk Hi, tell me which directory exactly did you delete?

The output of the command shows that you still have the lwrun container. In that case, just try reinstalling the LW scripts:

lwrun --install

In the future, if you want to uninstall LW, use the command:

lwrun --uninstall
vanbwodonk commented 5 months ago

Hi, tell me which directory exactly did you delete?

/home/user/.local/share/LutrisWine

After delete this my error message is changed

[ INFO ][2024.04.23 08:38:15]: Update lwrap... 
mv: cannot stat '/home/drw/.local/share/LuxWine/bin/lwrap.new12610': No such file or directory
chmod: cannot access '/home/drw/.local/share/LuxWine/bin/lwrap': No such file or directory
[ INFO ][2024.04.23 08:38:16]: Downloading lwrun... 
[ INFO ][2024.04.23 08:38:20]: lwrun downloaded! 
bash: line 977: /home/drw/.local/share/LuxWine/bin/lwrun: No such file or directory
VHSgunzo commented 5 months ago

/home/user/.local/share/LutrisWine

Wow, it looks like it's left over from a very old version of LW. I thought there were no more users who still had it installed) In that case, try deleting:

rm -rf ~/.local/share/{LutrisWine,LuxWine}
rm -rf ~/.local/share/applications/{LutrisWine,LuxWine}*
rm -rf ~/.local/bin/{steam,steam-native,steam-runtime,lwrap,lwrun,runimage-lw}

And try to install LW as usual.

vanbwodonk commented 5 months ago

yes, i used since old lutris-wine, tried deleting your suggesting folder, still get this error:

❯ curl -sL lwrap.github.io|bash
[ INFO ][2024.04.24 08:22:22]: Update lwrap... 
mv: cannot stat '/home/drw/.local/share/LuxWine/bin/lwrap.new6643': No such file or directory
chmod: cannot access '/home/drw/.local/share/LuxWine/bin/lwrap': No such file or directory
[ INFO ][2024.04.24 08:22:23]: Downloading lwrun... 
[ INFO ][2024.04.24 08:22:28]: lwrun downloaded! 
bash: line 977: /home/drw/.local/share/LuxWine/bin/lwrun: No such file or directory
vanbwodonk commented 5 months ago

I found the problem. This is all because lwrap.github.io script using my aria2 config : ~/.aria2/aria2.conf. Because I'm using modified aria2.conf. The script failed to download requirement files. I think in the future the script can use aria2 command with --no-conf option.

VHSgunzo commented 5 months ago

I think in the future the script can use aria2 command with --no-conf option.

Interesting. It has also recently been revealed that wget options are slightly incompatible with wget2. I will add these fixes in the next release.

In the meantime, you can install LW by downloading the lwrun container, make it executable and run it. https://github.com/VHSgunzo/lux-wine?tab=readme-ov-file#offline-installation

VHSgunzo commented 5 months ago

fixed in v0.78.4.6