Skip to content

[email protected]: decompress error #6776

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

Closed
somera opened this issue Apr 28, 2025 · 5 comments
Closed

[email protected]: decompress error #6776

somera opened this issue Apr 28, 2025 · 5 comments

Comments

@somera
Copy link

somera commented Apr 28, 2025

I get this

Extracting Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle ... Invoke-ExternalCommand: C:\Users\xxx\scoop\apps\scoop\current\lib\decompress.ps1:109
Line |
 109 |      $Status = Invoke-ExternalCommand $7zPath $ArgList -LogPath $LogPa …
     |                                       ~~~~~~~
     | 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.
Failed to extract files from C:\Users\kedziorski.rafal\scoop\apps\winget\1.10.390\dl.7z.
Log file:
  ~\scoop\apps\winget\1.10.390\7zip.log

when I execute scoop update *

@HUMORCE
Copy link
Member

HUMORCE commented Apr 28, 2025

install 7zip first.

@somera
Copy link
Author

somera commented Apr 28, 2025

7zip is on my system:

$ scoop install 7zip
WARN  '7zip' (24.09) is already installed.
Use 'scoop update 7zip' to install a new version.

...

$ scoop update 7zip
7zip: 24.09 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'

and

$ scoop update *
winget: 1.10.340 -> 1.10.390
Updating one outdated app:
Updating 'winget' (1.10.340 -> 1.10.390)
Downloading new version
Loading Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle from cache
Checking hash of Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle ... ok.
Uninstalling 'winget' (1.10.340)
Installing 'winget' (1.10.390) [64bit] from 'main' bucket
Loading Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle from cache
Extracting Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle ... Invoke-ExternalCommand: C:\Users\xxx\scoop\apps\scoop\current\lib\decompress.ps1:109
Line |
 109 |      $Status = Invoke-ExternalCommand $7zPath $ArgList -LogPath $LogPa …
     |                                       ~~~~~~~
     | 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.
Failed to extract files from C:\Users\kedziorski.rafal\scoop\apps\winget\1.10.390\dl.7z.
Log file:
  ~\scoop\apps\winget\1.10.390\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=winget%401.10.390%3a+decompress+error

@somera
Copy link
Author

somera commented Apr 28, 2025

Solution was:

$ scoop uninstall 7zip
...
$ scoop install 7zip
...
$ scoop update *
...

looks like something was broken.

@somera somera closed this as completed Apr 28, 2025
@HUMORCE
Copy link
Member

HUMORCE commented Apr 28, 2025

scoop reset 7zip should also fix this issue.

@somera
Copy link
Author

somera commented Apr 28, 2025

@HUMORCE I try this next time. thx.

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