protontricks icon indicating copy to clipboard operation
protontricks copied to clipboard

warning: Note: Cabextract returned status 1. Aborting.

Open xDieymirx opened this issue 4 months ago • 4 comments

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:

  1. run command
  2. 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.

xDieymirx avatar Aug 20 '25 02:08 xDieymirx

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.

Matoking avatar Aug 21 '25 16:08 Matoking

cabextract --version

I am using cabextract version 1.11

xDieymirx avatar Aug 22 '25 02:08 xDieymirx

uh... Update? Kinda wondering what you think of that.

xDieymirx avatar Aug 24 '25 16:08 xDieymirx

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.

Matoking avatar Aug 25 '25 17:08 Matoking