Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msys2@2024-07-27: decompress error #6258

Open
VladimirMarko opened this issue Oct 18, 2024 · 2 comments
Open

msys2@2024-07-27: decompress error #6258

VladimirMarko opened this issue Oct 18, 2024 · 2 comments

Comments

@VladimirMarko
Copy link

PS C:\> scoop install main/ghcup
WARN  Purging previous failed installation of msys2.
ERROR 'msys2' isn't installed correctly.
Removing older version (2024-07-27).
'msys2' was uninstalled.
Installing 'msys2' (2024-07-27) [64bit] from 'main' bucket
Loading msys2-base-x86_64-20240727.tar.xz from cache
Checking hash of msys2-base-x86_64-20240727.tar.xz ... ok.
Extracting msys2-base-x86_64-20240727.tar.xz ... Invoke-ExternalCommand : Cannot validate argument on parameter 'FilePath'. The argument is null or empty. Provide an
argument that is not null or empty, and then try the command again.
At C:\Users\Vladimir.Marko\scoop\apps\scoop\current\lib\decompress.ps1:109 char:38
+     $Status = Invoke-ExternalCommand $7zPath $ArgList -LogPath $LogPa ...
+                                      ~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Invoke-ExternalCommand], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Invoke-ExternalCommand

Failed to extract files from C:\Users\Vladimir.Marko\scoop\apps\msys2\2024-07-27\msys2-base-x86_64-20240727.tar.xz.
Log file:
  ~\scoop\apps\msys2\2024-07-27\7zip.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Main/issues/new?title=msys2%402024-07-27%3a+decompress+error
PS C:\>
@HUMORCE
Copy link
Member

HUMORCE commented Nov 7, 2024

Cannot reproduce.

Please update 7zip to latest version then retry.

PS C:\Users\WDAGUtilityAccount> scoop install msys2
Scoop uses Git to update itself. Run 'scoop install git' and try again.
Installing 'msys2' (2024-07-27) [64bit] from 'main' bucket
Loading msys2-base-x86_64-20240727.tar.xz from cache
Checking hash of msys2-base-x86_64-20240727.tar.xz ... ok.
Extracting msys2-base-x86_64-20240727.tar.xz ... done.
Linking ~\scoop\apps\msys2\current => ~\scoop\apps\msys2\2024-07-27
Creating shim for 'msys2'.
Creating shim for 'mingw'.
Creating shim for 'mingw32'.
Creating shim for 'mingw64'.
Creating shim for 'clang32'.
Creating shim for 'clang64'.
Creating shim for 'clangarm64'.
Creating shim for 'ucrt64'.
Creating shortcut for MSYS2 (msys2.exe)
Creating shortcut for MinGW32 (mingw32.exe)
Creating shortcut for MinGW64 (mingw64.exe)
Creating shortcut for Clang32 (clang32.exe)
Creating shortcut for Clang64 (clang64.exe)
Creating shortcut for ClangArm64 (clangarm64.exe)
Creating shortcut for UCRT64 (ucrt64.exe)
Persisting home
'msys2' (2024-07-27) was installed successfully!
Notes
-----
Please run 'msys2' now for the MSYS2 setup to complete!

@VladimirMarko
Copy link
Author

VladimirMarko commented Nov 14, 2024

7zip was at the latest version:

PS C:\> scoop update 7zip
7zip: 24.08 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'

Nevertheless, reinstalling it fixed the issue.
That is, this worked:

 scoop uninstall 7zip
 scoop install 7zip
 scoop install ghcup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants