warning: Note: Cabextract returned status 1. Aborting.
Describe the bug
Attempting to use the Furglitch MO2 script, and this cabextract error will always happen, causing it to fail and be aborted.
To Reproduce Steps to reproduce the behavior:
- run command
- error installing
Expected behavior For it to install.
System (please complete the following information):
- Distro: EndeavourOS
- Protontricks AUR
- Protontricks version: protontricks (1.12.1)
- Steam version: Stable
Additional context
If the error happens when trying to run a Protontricks command, run the command again using the -vv flag and copy the output!
Executing cabextract -q -d /home/sean/.local/share/Steam/steamapps/compatdata/489830/pfx/dosdevices/c:/windows/temp -L -F xactx86 /home/sean/.cache/winetricks/directx9/directx_Jun2010_redist.exe Executing cabextract -q -d /home/sean/.local/share/Steam/steamapps/compatdata/489830/pfx/dosdevices/c:/windows/temp -L -F x3daudiox86 /home/sean/.cache/winetricks/directx9/directx_Jun2010_redist.exe Executing cabextract -q -d /home/sean/.local/share/Steam/steamapps/compatdata/489830/pfx/dosdevices/c:/windows/temp -L -F xaudiox86 /home/sean/.cache/winetricks/directx9/directx_Jun2010_redist.exe Executing cabextract -q -d /home/sean/.local/share/Steam/steamapps/compatdata/489830/pfx/dosdevices/c:/windows/syswow64 -L -F xactengine.dll /home/sean/.local/share/Steam/steamapps/compatdata/489830/pfx/dosdevices/c:/windows/temp/.cab /home/sean/.local/share/Steam/steamapps/compatdata/489830/pfx/dosdevices/c:/windows/temp/.cab: No such file or directory
warning: Note: command cabextract -q -d /home/sean/.local/share/Steam/steamapps/compatdata/489830/pfx/dosdevices/c:/windows/syswow64 -L -F xactengine*.dll /home/sean/.local/share/Steam/steamapps/compatdata/489830/pfx/dosdevices/c:/windows/temp/*.cab returned status 1. Aborting.
Could be the same issue as Winetricks/winetricks#1648, which should be fixed assuming you have cabextract 1.10 or newer installed. You can use cabextract --version command to check this.
cabextract --version
I am using cabextract version 1.11
uh... Update? Kinda wondering what you think of that.
Sorry, my replies to issue reports tend be sporadic.
The problem here is likely with Winetricks or the MO2 installer. The specific command that the MO2 installer tried to run was winetricks xact, and I was able to run it locally without problems (winetricks --version reports 20250102-next as the version). Maybe Winetricks was unable to download the file(s) containing the CAB files (eg. due to a missing utility)? You could try copying the entire output generated by the installer to gist.github.com. For what it's worth, running protontricks ... xact manually works without issues, although it does report the following warning for each cab file:
/mnt/LinuxDataSSD_B/SteamLibrary/steamapps/compatdata/1690940/pfx/dosdevices/c:/windows/temp/_xact/apr2006_xact_x86.cab: WARNING; possible 5960 extra bytes at end of file.