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

Install error : failure to unzip scoop.zip #95

Open
AnniIsHere opened this issue Oct 4, 2024 · 1 comment
Open

Install error : failure to unzip scoop.zip #95

AnniIsHere opened this issue Oct 4, 2024 · 1 comment

Comments

@AnniIsHere
Copy link

AnniIsHere commented Oct 4, 2024

Description

Whenever I try installing scoop, it says "Unzip failed: can't find C:\Users\akcra\scoop\apps\scoop\current\scoop.zip to unzip"

####Installation Logs

PS C:\Users\akcra> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
PS C:\Users\akcra> Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
Initializing...
Downloading...
error: unable to stat just-written file test/fixtures/decompress/TestCases.zip: No such file or directory
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

WARNING: Cloning failed. Falling back to downloading zip files.
Extracting...
Unzip failed: can't find C:\Users\akcra\scoop\apps\scoop\current\scoop.zip to unzip.
Abort.
```

Additional Information

Windows 10,, only Windows security

@AnniIsHere AnniIsHere reopened this Oct 4, 2024
@xxthunder
Copy link
Contributor

Hi AnnilsHere,

looks like something is deleting the zip after download. Are you able to download it directly via PowerShell?

iwr -Uri https://github.com/ScoopInstaller/Scoop/archive/master.zip -OutFile master.zip

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